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

Add `use a::b::{c, mod};` to the manual #16537

Merged
merged 1 commit into from Aug 17, 2014
Merged

Conversation

@ghost
Copy link

ghost commented Aug 16, 2014

No description provided.


An example of `use` declarations:

~~~~
use std::iter::range_step;
use std::option::{Some, None};
use std::collections::hash::{mod, HashMap};

This comment has been minimized.

Copy link
@nham

nham Aug 16, 2014

Contributor

This should be std::collections::hashmap::{mod, HashMap} unless I'm missing something.

This comment has been minimized.

Copy link
@ghost

ghost Aug 16, 2014

Author

Of course! Thank you.

@steveklabnik
Copy link
Member

steveklabnik commented Aug 16, 2014

Thanks for adding this! I would like another reviewer to confirm the grammar is correct, though.

@bors

This comment has been minimized.

Copy link
Contributor

bors commented on 7606f58 Aug 17, 2014

This comment has been minimized.

Copy link
Contributor

bors replied Aug 17, 2014

merging jakub-/rust/use-mod-manual = 7606f58 into auto

This comment has been minimized.

Copy link
Contributor

bors replied Aug 17, 2014

jakub-/rust/use-mod-manual = 7606f58 merged ok, testing candidate = a12a4dd

This comment has been minimized.

Copy link
Contributor

bors replied Aug 17, 2014

fast-forwarding master to auto = a12a4dd

bors added a commit that referenced this pull request Aug 17, 2014
@bors bors closed this Aug 17, 2014
@bors bors merged commit 7606f58 into rust-lang:master Aug 17, 2014
1 of 2 checks passed
1 of 2 checks passed
continuous-integration/travis-ci The Travis CI build failed
Details
default all tests passed
@ghost ghost deleted the use-mod-manual branch Aug 18, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

3 participants
You can’t perform that action at this time.