-
Notifications
You must be signed in to change notification settings - Fork 13k
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
API Docs: std::iter #29360
Comments
This section being more filled out is really pretty nice. It's still missing the difference between these: for i in vec { ... }
for i in &vec { ... }
for i in &*vec { ... }
for i in &mut vec { ... }
for i in &mut *vec { ... } While the first case is covered, the 2nd and 4th aren't. The 3rd and 5th might not be necessary though they might be seen in the wild. |
http://doc.rust-lang.org/nightly/std/iter/trait.Extend.html and http://doc.rust-lang.org/nightly/std/iter/trait.FromIterator.html still need work. It'd be nice to expand http://doc.rust-lang.org/nightly/std/iter/fn.empty.html a bit to cover a use-case. |
@mdinger that kind of thing really blelongs on Vec's page, I'd imagine, since that's an aspect of Vec and its implementations. They're all technically "covered", the desugaring is the same. |
I didn't know the desugaring was the same. I thought one went to |
Check out
The |
Ah okay. I didn't know it was always through |
And modifying IntoIterator for consisntency with it. Part of rust-lang#29360
…excrichton And modifying IntoIterator for consisntency with it. Part of rust-lang#29360
And modifying IntoIterator for consisntency with it. Part of rust-lang#29360
…excrichton And modifying IntoIterator for consisntency with it. Part of rust-lang#29360
I am happy with this now. |
Part of #29329
http://doc.rust-lang.org/std/iter/
I've recently been doing a lot of work here, but it should be double checked.
The text was updated successfully, but these errors were encountered: