From 5a12cbf26134d417531289e89375bbe580803dec Mon Sep 17 00:00:00 2001 From: Linus Torvalds Date: Thu, 22 Oct 2026 07:03:40 -1000 Subject: [PATCH] rust: missed rustfmt fix up in rust/kernel/mem.rs Miguel had mentioned this rustfmt issue, but I overlooked this one when doing the driver core merge. Make rustfmt happy again. Reminded-by: Miguel Ojeda Signed-off-by: Linus Torvalds --- rust/kernel/mem.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/rust/kernel/mem.rs b/rust/kernel/mem.rs index f811c9434a80..cd00289ded72 100644 --- a/rust/kernel/mem.rs +++ b/rust/kernel/mem.rs @@ -2,9 +2,10 @@ //! Basic utilities for dealing with memory, values, and types. +use crate::prelude::*; + // TODO: `Alignment` should be moved here as well, Rust moved it upstream in 1.96. pub use crate::ptr::Alignment; -use crate::prelude::*; /// Trait indicating that [`Align`] is a valid alignment. pub trait ValidAlign {