Skip to content
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

Fix two small issues in iterator docs #37963

Merged
merged 2 commits into from Nov 26, 2016
Merged

Conversation

bluss
Copy link
Member

@bluss bluss commented Nov 23, 2016

  • collect() is a regular method, not an adaptor (does not return an Iterator). I just randomly picked filter as a third common adaptor to mention instead.
  • Fix example in Map's docs so that it uses the DoubleEndedIterator implementation

Make the example use DoubleEndedIterator for map, like it said it would.
@rust-highfive
Copy link
Collaborator

r? @alexcrichton

(rust_highfive has picked a reviewer for you, use r? to override)

@alexcrichton
Copy link
Member

@bors: r+

@bors
Copy link
Contributor

bors commented Nov 23, 2016

📌 Commit 557369e has been approved by alexcrichton

@bluss
Copy link
Member Author

bluss commented Nov 24, 2016

@bors rollup

sanxiyn added a commit to sanxiyn/rust that referenced this pull request Nov 26, 2016
Fix two small issues in iterator docs

- `collect()` is a regular method, not an adaptor (does not return an Iterator). I just randomly picked `filter` as a third common adaptor to mention instead.
- Fix example in `Map`'s docs so that it uses the DoubleEndedIterator implementation
bors added a commit that referenced this pull request Nov 26, 2016
Rollup of 7 pull requests

- Successful merges: #37962, #37963, #37967, #37978, #37985, #38001, #38010
- Failed merges:
@bors bors merged commit 557369e into rust-lang:master Nov 26, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants