Skip to content

doc: add example for Iterator::cloned() #25758

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

Merged
merged 1 commit into from
May 25, 2015
Merged

doc: add example for Iterator::cloned() #25758

merged 1 commit into from
May 25, 2015

Conversation

tshepang
Copy link
Member

No description provided.

@rust-highfive
Copy link
Contributor

r? @pcwalton

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

/// # Examples
///
/// ```
/// let v_cloned: Vec<_> = a.iter().cloned().collect();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is a? And the code fence isn't closed.

(On Mobile, maybe getting a weird render)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed

@Gankra
Copy link
Contributor

Gankra commented May 24, 2015

@bors r+ rollup

Thanks!

@bors
Copy link
Collaborator

bors commented May 24, 2015

📌 Commit 2d5d6fb has been approved by Gankro

@bors
Copy link
Collaborator

bors commented May 24, 2015

⌛ Testing commit 2d5d6fb with merge 893e416...

@bors bors merged commit 2d5d6fb into rust-lang:master May 25, 2015
@tshepang tshepang deleted the add-cloned-example branch May 25, 2015 00:19
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.

5 participants