mirror of
https://github.com/torvalds/linux.git
synced 2025-12-07 20:06:24 +00:00
rust: remove spurious use core::fmt::Debug
We want folks to use `kernel::fmt` but this is only used for `derive` so
can be removed entirely.
This backslid in commit ea60cea07d ("rust: add `Alignment` type").
Reviewed-by: Alice Ryhl <aliceryhl@google.com>
Signed-off-by: Tamir Duberstein <tamird@gmail.com>
Link: https://patch.msgid.link/20251018-cstr-core-v18-9-9378a54385f8@gmail.com
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
This commit is contained in:
committed by
Miguel Ojeda
parent
0e947bc22b
commit
5b60cde74b
@@ -2,7 +2,6 @@
|
||||
|
||||
//! Types and functions to work with pointers and addresses.
|
||||
|
||||
use core::fmt::Debug;
|
||||
use core::mem::align_of;
|
||||
use core::num::NonZero;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user