Skip to content

Commit 15fc5d5

Browse files
Centrilehuss
andauthored
Clarify not "renamed".
Co-Authored-By: ehuss <eric@huss.org>
1 parent 7a0ac86 commit 15fc5d5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/items/extern-crates.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ extern crate hello_world; // hyphen replaced with an underscore
4343
External crates imported with `extern crate` in the root module or provided to
4444
the compiler (as with the `--extern` flag with `rustc`) are added to the
4545
"extern prelude". Crates in the extern prelude are in scope in the entire
46-
crate, including inner modules. If renamed as in `extern crate orig_name as
46+
crate, including inner modules. If imported with `extern crate orig_name as
4747
new_name`, then the symbol `new_name` is added to the prelude.
4848

4949
The `core` crate is always added to the extern prelude. The `std` crate

0 commit comments

Comments
 (0)