Use the correct mod name from the example

This commit is contained in:
Jack Wilson 2015-10-04 13:17:35 -07:00 committed by jackwilsonv
parent 5ff4442a3f
commit d21b4f5451
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