-
Notifications
You must be signed in to change notification settings - Fork 14k
Remove use of range() in iterator docs. #22296
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
|
r? @pcwalton (rust_highfive has picked a reviewer for you, use r? to override) |
src/doc/trpl/iterators.md
Outdated
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.
range
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.
lol and others, fixed them too
a1a36ab to
bc7c907
Compare
src/doc/trpl/iterators.md
Outdated
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.
This rust disappeared :(
bc7c907 to
debecf4
Compare
src/doc/trpl/iterators.md
Outdated
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.
Parentheses needed around (1..4) here, else it is 1..(4.fold(---))
debecf4 to
817f3a4
Compare
|
Feedback addressed. @gankro r? |
|
@bors r+ 817f3 rollup |
Fixes #21577.