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 <ojeda@kernel.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
Linus Torvalds 2026-10-22 07:03:40 -10:00
parent bfa231bb4c
commit 5a12cbf261

View File

@ -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<N>`] is a valid alignment.
pub trait ValidAlign {