Skip to content

Commit 20c562e

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 15e48d7 commit 20c562e

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
@@ -175,7 +175,7 @@ The `no_implicit_prelude` attribute may be used any number of times on a form.
175175
> `rustc` lints against any use following the first.
176176
177177
r[names.preludes.no_implicit_prelude.excluded-preludes]
178-
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.
178+
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.
179179
180180
r[names.preludes.no_implicit_prelude.lang]
181181
The `no_implicit_prelude` attribute does not affect the [language prelude].

0 commit comments

Comments
 (0)