Rollup merge of #28836 - jackwilsonv:patch-6, r=steveklabnik

r? @steveklabnik
This commit is contained in:
Steve Klabnik 2015-10-07 18:18:36 -04:00
commit 18c66b5aff
1 changed files with 2 additions and 2 deletions

View File

@ -563,8 +563,8 @@ What's going on here?
First, both `extern crate` and `use` allow renaming the thing that is being First, both `extern crate` and `use` allow renaming the thing that is being
imported. So the crate is still called "phrases", but here we will refer imported. So the crate is still called "phrases", but here we will refer
to it as "sayings". Similarly, the first `use` statement pulls in the to it as "sayings". Similarly, the first `use` statement pulls in the
`japanese::farewells` module from the crate, but makes it available as `japanese::greetings` module from the crate, but makes it available as
`jp_farewells` as opposed to simply `farewells`. This can help to avoid `ja_greetings` as opposed to simply `greetings`. This can help to avoid
ambiguity when importing similarly-named items from different places. ambiguity when importing similarly-named items from different places.
The second `use` statement uses a star glob to bring in _all_ symbols from the The second `use` statement uses a star glob to bring in _all_ symbols from the