Skip to content

Commit 4be61ad

Browse files
committed
Update documentation to specify no_prelude
1 parent 76c59dc commit 4be61ad

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/doc/reference.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1885,8 +1885,7 @@ type int8_t = i8;
18851885

18861886
### Module-only attributes
18871887

1888-
- `no_implicit_prelude` - disable injecting `use std::prelude::*` in this
1889-
module.
1888+
- `no_prelude` - disable injecting `use std::prelude::*` in this module.
18901889
- `path` - specifies the file to load the module from. `#[path="foo.rs"] mod
18911890
bar;` is equivalent to `mod bar { /* contents of foo.rs */ }`. The path is
18921891
taken relative to the directory that the current module is in.

0 commit comments

Comments
 (0)