From 4aff964463b90ae8a27d68ae7d85b6ba721d0779 Mon Sep 17 00:00:00 2001 From: Tshepang Lekhonkhobe Date: Sun, 24 Aug 2014 13:10:59 +0200 Subject: [PATCH] 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. --- src/doc/guide.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/doc/guide.md b/src/doc/guide.md index f1211c0788ee..97cd8c681d14 100644 --- a/src/doc/guide.md +++ b/src/doc/guide.md @@ -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: