mirror of
https://github.com/torvalds/linux.git
synced 2026-11-07 06:17:02 +01:00
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:
parent
bfa231bb4c
commit
5a12cbf261
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user