summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMiguel Ojeda <ojeda@kernel.org>2024-09-26 14:47:51 +0200
committerMiguel Ojeda <ojeda@kernel.org>2024-09-26 17:49:00 +0200
commitece207a83e464af710d641f29e32b7a144c48e79 (patch)
treec165d93ea1f5a9e4ad50b136e20b153d091cf354
parentMerge tag 'rust-6.12' of https://github.com/Rust-for-Linux/linux (diff)
downloadlinux-ece207a83e464af710d641f29e32b7a144c48e79.tar.xz
linux-ece207a83e464af710d641f29e32b7a144c48e79.zip
rust: kernel: sort Rust modules
Rust modules are intended to be sorted, thus do so. This makes `rustfmtcheck` to pass again. Fixes: 570172569238 ("Merge tag 'rust-6.12' of https://github.com/Rust-for-Linux/linux") Reviewed-by: Alice Ryhl <aliceryhl@google.com> Link: https://lore.kernel.org/r/20240926124751.345471-1-ojeda@kernel.org Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
-rw-r--r--rust/kernel/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/rust/kernel/lib.rs b/rust/kernel/lib.rs
index 22a3bfa5a9e9..b5f4b3ce6b48 100644
--- a/rust/kernel/lib.rs
+++ b/rust/kernel/lib.rs
@@ -44,8 +44,8 @@ pub mod net;
pub mod page;
pub mod prelude;
pub mod print;
-pub mod sizes;
pub mod rbtree;
+pub mod sizes;
mod static_assert;
#[doc(hidden)]
pub mod std_vendor;