Skip to content

Commit c8ad659

Browse files
mention 2018 rationale
Co-authored-by: Josh Triplett <[email protected]>
1 parent 508d2db commit c8ad659

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/items/modules.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ Module Path | Filesystem Path | File Contents
8080
`crate::util::config` | `util/config.rs` |
8181

8282
> **Note**: Prior to `rustc` 1.30, using `mod.rs` files was the only way to load
83-
> a module with nested children.
83+
> a module with nested children. Rust 2018 added the new naming convention to be more consistent with modules that don't have submodules, and to avoid having many files named `mod.rs`.
8484
8585
### The `path` attribute
8686

0 commit comments

Comments
 (0)