From 2e6f9311970de4fc399de0a81f4a59747116e7e4 Mon Sep 17 00:00:00 2001 From: Gabriele Belluardo Date: Sat, 7 Mar 2026 13:09:37 +0100 Subject: [PATCH] Change 'pub use' to 'use' in structural discipline --- site/src/structural-discipline.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/site/src/structural-discipline.md b/site/src/structural-discipline.md index 51a2ced..cc54845 100644 --- a/site/src/structural-discipline.md +++ b/site/src/structural-discipline.md @@ -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 */ }`.