Skip to content

Commit 227819e

Browse files
committed
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 76af548 commit 227819e

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
@@ -174,7 +174,7 @@ Duplicate instances of the `no_implicit_prelude` attribute have no effect.
174174
> `rustc` currently warns on subsequent duplicate `no_implicit_prelude` attributes.
175175
176176
r[names.preludes.no_implicit_prelude.excluded-preludes]
177-
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.
177+
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.
178178
179179
r[names.preludes.no_implicit_prelude.lang]
180180
The `no_implicit_prelude` attribute does not affect the [language prelude].

0 commit comments

Comments
 (0)