Skip to content

doc: TreeSet and TreeMap with code examples #16032

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 4 commits into from
Jul 29, 2014
Merged

doc: TreeSet and TreeMap with code examples #16032

merged 4 commits into from
Jul 29, 2014

Conversation

treeman
Copy link
Contributor

@treeman treeman commented Jul 27, 2014

No description provided.

@treeman treeman changed the title Document TreeSet and TreeMap with examples doc: TreeSet and TreeMap with code examples Jul 27, 2014
/// println!("{}: {}", key, value);
/// }
///
/// // Print 1, 2, 3
Copy link
Member

Choose a reason for hiding this comment

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

should be 'prints'

@steveklabnik
Copy link
Member

This is awesome, thank you. ❤️. r=me with those little changes

@treeman
Copy link
Contributor Author

treeman commented Jul 27, 2014

Cool, thanks.

I actually removed the lines saying "Requires that it be frozen (immutable)." as I don't feel "Require that it's immutable" adds anything. It should be clear from the semantics and the types shown in the docs that yes self will be immutable.

@bors bors closed this Jul 29, 2014
@bors bors merged commit 58d3f10 into rust-lang:master Jul 29, 2014
@treeman treeman deleted the doc-treecollection branch September 17, 2014 09:50
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