-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Add doc examples for Iter and IterMut #32768
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
/// Basic usage: | ||
/// | ||
/// ``` | ||
/// // First, we declare a type which implements `IterMut` trait (&[usize here]): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
IterMut is a struct, not a trait.
from Travis |
That's what I saw, bad c/c I guess. :-/ |
5d225c9
to
cc4aae9
Compare
I changed the examples. Do you find them better? |
cc4aae9
to
23a1000
Compare
@@ -1 +1 @@ | |||
Subproject commit 7265c17d1845354f979a39b4ceb3a6934025b2ab |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
seems like this snuck in!
23a1000
to
4a28dac
Compare
@bors: r+ rollup |
📌 Commit 4a28dac has been approved by |
4a28dac
to
69289c9
Compare
@bors: r+ rollup |
📌 Commit 69289c9 has been approved by |
…abnik Add doc examples for Iter and IterMut Fixes rust-lang#29374. r? @steveklabnik
…abnik Add doc examples for Iter and IterMut Fixes rust-lang#29374. r? @steveklabnik
Fixes #29374.
r? @steveklabnik