Skip to content

Commit

Permalink
Merge pull request rust-lang#707 from mattheww/2019-11_no_implicit_pr…
Browse files Browse the repository at this point in the history
…elude

State that no_implicit_prelude also applies to nested modules
  • Loading branch information
Centril committed Nov 4, 2019
2 parents 96ae518 + 60551ff commit 6a04611
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/items/modules.md
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ macros imported with [`#[macro_use]`][macro_use] on an extern crate, and by the
[prelude]. These names are all made of a single identifier. These names are not
part of the module, so for example, any name `name`, `self::name` is not a
valid path. The names added by the [prelude] can be removed by placing the
`no_implicit_prelude` [attribute] onto the module.
`no_implicit_prelude` [attribute] onto the module or one of its ancestor modules.

## Attributes on Modules

Expand Down

0 comments on commit 6a04611

Please sign in to comment.