]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
rust: kernel: sort Rust modules
authorMiguel Ojeda <ojeda@kernel.org>
Thu, 26 Sep 2024 12:47:51 +0000 (14:47 +0200)
committerMiguel Ojeda <ojeda@kernel.org>
Thu, 26 Sep 2024 15:49:00 +0000 (17:49 +0200)
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>
rust/kernel/lib.rs

index 22a3bfa5a9e96a1dd9cf76bd34a8d992458870b4..b5f4b3ce6b48203507f89bcc4b0bf7b076be6247 100644 (file)
@@ -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;