Skip to content

Commit 5b60cde

Browse files
tamirdojeda
authored andcommitted
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 ea60cea ("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>
1 parent 0e947bc commit 5b60cde

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

rust/kernel/ptr.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
//! Types and functions to work with pointers and addresses.
44
5-
use core::fmt::Debug;
65
use core::mem::align_of;
76
use core::num::NonZero;
87

0 commit comments

Comments
 (0)