@@ -44,10 +44,10 @@ External crates imported with `extern crate` in the root module or provided to
44
44
the compiler (as with the ` --extern ` flag with ` rustc ` ) are added to the
45
45
"extern prelude". Crates in the extern prelude are in scope in the entire
46
46
crate, including inner modules. If imported with `extern crate orig_name as
47
- new_name` , then the symbol ` new_name` is added to the prelude.
47
+ new_name` , then the symbol ` new_name` is instead added to the prelude.
48
48
49
49
The ` core ` crate is always added to the extern prelude. The ` std ` crate
50
- is added as long as the [ ` no_std ` ] attribute is not specified.
50
+ is added as long as the [ ` no_std ` ] attribute is not specified in the crate root .
51
51
52
52
The [ ` no_implicit_prelude ` ] attribute can be used on a module to disable
53
53
prelude lookups within that module.
@@ -60,7 +60,7 @@ prelude lookups within that module.
60
60
> the extern prelude, so it is considered unidiomatic to use ` extern crate ` .
61
61
62
62
> ** Note** : Crates not explicitly named with the ` --extern ` flag with ` rustc `
63
- > are not included in the extern prelude. This means that additional crates
63
+ > are not included in the extern prelude. As a result, additional crates
64
64
> that ship with ` rustc ` , such as [ ` proc_macro ` ] , [ ` alloc ` ] , and [ ` test ` ] ,
65
65
> currently aren't available in the extern prelude and must be brought into
66
66
> scope with an ` extern crate ` declaration, even in the 2018 edition. ` use `
0 commit comments