-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
Document that IntoIterator allows for for...in
sugar
#23851
Comments
What about an explanation of |
That seems more of a conceptual, in-depth question that should probably be answered in the Book rather than API documentation |
@FreeFull Or would be good in the top-level Iterator or Collections docs. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
http://doc.rust-lang.org/core/iter/trait.IntoIterator.html
I think we should mention somewhere in the docs for
IntoIterator
that implementing this trait allows one to write:instead of
The text was updated successfully, but these errors were encountered: