-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Iterator documentation uses an array when it probably meant to use a vec #24977
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
Comments
doesn't the documentation also try to present semi-idiomatic rust, though? Creating a |
Further down it uses .step_by which is unstable. |
steveklabnik
added a commit
to steveklabnik/rust
that referenced
this issue
Apr 30, 2015
Manishearth
added a commit
to Manishearth/rust
that referenced
this issue
May 1, 2015
Manishearth
added a commit
to Manishearth/rust
that referenced
this issue
May 1, 2015
Manishearth
added a commit
to Manishearth/rust
that referenced
this issue
May 1, 2015
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
http://doc.rust-lang.org/1.0.0-beta.3/book/iterators.html#iterators
See the third code block:
Up to this point this chapter has used
vec![]
instead of[]
exclusively, and even the paragraph above this code refers to "vectors". This has led to some confusion over whether[]
creates a vector, which is probably not an explanation fit for this section.The text was updated successfully, but these errors were encountered: