Skip to content

Add doctests for iter_mut and into_iter of BTreeMap. #19685

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
Dec 13, 2014

Conversation

jbranchaud
Copy link
Contributor

No description provided.

/// map.insert(2u,"b");
/// map.insert(3u,"c");
///
/// for (key,value) in map.into_iter() {
Copy link
Contributor

Choose a reason for hiding this comment

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

missing space after comma

Copy link
Contributor Author

Choose a reason for hiding this comment

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

good catch!

Add spacing as dictated by standard rust code style.
@jbranchaud jbranchaud force-pushed the add-btreemap-iter-doctests branch from 8883421 to d946426 Compare December 10, 2014 04:19
@jbranchaud
Copy link
Contributor Author

Updated

brson added a commit to brson/rust that referenced this pull request Dec 12, 2014
bors added a commit that referenced this pull request Dec 13, 2014
@bors bors closed this Dec 13, 2014
@bors bors merged commit d946426 into rust-lang:master Dec 13, 2014
lnicola pushed a commit to lnicola/rust that referenced this pull request May 5, 2025
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.

3 participants