Skip to content

Commit a9a07d1

Browse files
committed
Revise no_implicit_prelude.excluded-preludes text
Rather than saying "or any of its descendants", we can say "and its descendants" to express the same thing more concisely. Let's do that.
1 parent 2825c02 commit a9a07d1

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
@@ -177,7 +177,7 @@ The `no_implicit_prelude` attribute may be used any number of times on a form.
177177
> `rustc` lints against any use following the first.
178178
179179
r[names.preludes.no_implicit_prelude.excluded-preludes]
180-
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.
180+
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 and its descendants.
181181
182182
r[names.preludes.no_implicit_prelude.lang]
183183
The `no_implicit_prelude` attribute does not affect the [language prelude].

0 commit comments

Comments
 (0)