Skip to content

Commit ee80656

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 60b7586 commit ee80656

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
@@ -188,7 +188,7 @@ The `no_implicit_prelude` attribute may be used any number of times on a form.
188188
> `rustc` lints against any use following the first.
189189
190190
r[names.preludes.no_implicit_prelude.excluded-preludes]
191-
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.
191+
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.
192192
193193
r[names.preludes.no_implicit_prelude.lang]
194194
The `no_implicit_prelude` attribute does not affect the [language prelude].

0 commit comments

Comments
 (0)