From 8a4970df28ea6e1c7b6fbfd517b865e45daa7d41 Mon Sep 17 00:00:00 2001 From: Ross Sullivan Date: Tue, 17 Jun 2025 12:06:11 +0900 Subject: [PATCH] doc(modules): Remove module style recommendation --- src/items/modules.md | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/items/modules.md b/src/items/modules.md index 295d1d7b5..6a5bccd2d 100644 --- a/src/items/modules.md +++ b/src/items/modules.md @@ -81,9 +81,6 @@ contents in a file named `mod.rs` within that directory. The above example can alternately be expressed with `crate::util`'s contents in a file named `util/mod.rs`. It is not allowed to have both `util.rs` and `util/mod.rs`. -> [!NOTE] -> Prior to `rustc` 1.30, using `mod.rs` files was the way to load a module with nested children. It is encouraged to use the new naming convention as it is more consistent, and avoids having many files named `mod.rs` within a project. - r[items.mod.outlined.path] ### The `path` attribute