Skip to content

Commit 9ca5c57

Browse files
ehusstraviscross
authored andcommitted
Fix no_implicit_prelude to document the *current* edition in the main text
This follows our style guide where the main text should document the current edition, and the edition blocks should note the differences to previous editions.
1 parent 70fa8bd commit 9ca5c57

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/names/preludes.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ The `no_implicit_prelude` attribute may be used any number of times on a form.
186186
> `rustc` lints against any use following the first.
187187
188188
r[names.preludes.no_implicit_prelude.excluded-preludes]
189-
The `no_implicit_prelude` attribute prevents the [standard library prelude], [extern prelude], and the [tool prelude] from being brought into scope for the module or any of its descendants.
189+
The `no_implicit_prelude` attribute prevents the [standard library prelude], [extern prelude], [`macro_use` prelude], and the [tool prelude] from being brought into scope for the module or any of its descendants.
190190
191191
r[names.preludes.no_implicit_prelude.lang]
192192
The `no_implicit_prelude` attribute does not affect the [language prelude].

0 commit comments

Comments
 (0)