rust/kernel/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
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")
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
---
rust/kernel/lib.rs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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 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;
base-commit: 11a299a7933e03c83818b431e6a1c53ad387423d
--
2.46.2
On Thu, Sep 26, 2024 at 2:48 PM Miguel Ojeda <ojeda@kernel.org> wrote: > > 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") > Signed-off-by: Miguel Ojeda <ojeda@kernel.org> Applied to `rust-fixes` -- thanks! Cheers, Miguel
On Thu, Sep 26, 2024 at 2:48 PM Miguel Ojeda <ojeda@kernel.org> wrote: > > 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") > Signed-off-by: Miguel Ojeda <ojeda@kernel.org> Reviewed-by: Alice Ryhl <aliceryhl@google.com>
© 2016 - 2024 Red Hat, Inc.