Skip to content

Commit d21b4f5

Browse files
committed
Use the correct mod name from the example
1 parent 5ff4442 commit d21b4f5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/doc/trpl/crates-and-modules.md

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

0 commit comments

Comments
 (0)