File tree 2 files changed +4
-6
lines changed
2 files changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -42,10 +42,10 @@ extension `.rs`.
42
42
43
43
A Rust source file describes a module, the name and location of which &mdash ;
44
44
in the module tree of the current crate &mdash ; are defined from outside the
45
- source file: either by an explicit [ ` mod ` item] [ module ] in a referencing source file, or
46
- by the name of the crate itself. Every source file is a module, but not every
47
- module needs its own source file: [ module definitions ] [ module ] can be nested
48
- within one file.
45
+ source file: either by an explicit [ ` mod ` item] [ module ] in a referencing
46
+ source file, or by the name of the crate itself. Every source file is a
47
+ module, but not every module needs its own source file: [ module
48
+ definitions ] [ module ] can be nested within one file.
49
49
50
50
Each source file contains a sequence of zero or more ` item ` definitions, and
51
51
may optionally begin with any number of [ attributes]
Original file line number Diff line number Diff line change @@ -120,8 +120,6 @@ mod thread {
120
120
}
121
121
```
122
122
123
-
124
-
125
123
## Prelude Items
126
124
127
125
Modules implicitly have some names in scope. These name are to built-in types,
You can’t perform that action at this time.
0 commit comments