doc: remove misleading/confusing info

We have to specify the module and the function name in the example where
the module shares a crate with the executable as well, so remove the
redundant (and potentially confusing) mention.
This commit is contained in:
Tshepang Lekhonkhobe 2014-08-24 13:10:59 +02:00
parent 16d538cba0
commit 4aff964463
1 changed files with 1 additions and 2 deletions

View File

@ -2811,8 +2811,7 @@ be named, by convention.
Next, we added an `extern crate modules` to the top of our `src/main.rs`. This,
as you can guess, lets Rust know that our crate relies on another, external
crate. We also had to modify our call to `print_hello`: now that it's in
another crate, we need to first specify the crate, then the module inside of it,
then the function name.
another crate, we need to specify that crate first.
This doesn't _quite_ work yet. Try it: