Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion site/src/structural-discipline.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ The `mod.rs` file must be separated into distinct blocks in the following order,
3. `mod _` declarations
4. `pub use _` declarations
5. `pub(crate) use _` declarations
6. `pub use _` declarations
6. `use _` declarations

Any items gated behind a `#[cfg(...)]` must be placed at the end of the file, in the same order as the above.
Like-gated items should be wrapped in a block, i.e. `#[cfg(...)] { /* items here */ }`.
Expand Down
Loading