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 <[email protected]> Signed-off-by: Tamir Duberstein <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Miguel Ojeda <[email protected]>
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)