You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/names/preludes.md
+10-11
Original file line number
Diff line number
Diff line change
@@ -18,16 +18,15 @@ There are several different preludes:
18
18
19
19
## Standard library prelude
20
20
21
-
Each crate has a standard library prelude, which consists of the names from a single standard library module. The module used depends on the crate's edition, and on whether the [`no_std` attribute] is applied to the crate:
21
+
Each crate has a standard library prelude, which consists of the names from a single standard library module.
22
+
The module used depends on the crate's edition, and on whether the [`no_std` attribute] is applied to the crate:
This choice of prelude is in effect throughout the crate, including code generated by macros defined in crates with a different edition or `no_std` attribute.
30
-
31
30
32
31
> **Note**:
33
32
>
@@ -140,20 +139,20 @@ This attribute does not affect the [language prelude].
0 commit comments