[PATCH v17 09/11] rust: remove spurious `use core::fmt::Debug`

Tamir Duberstein
2025-10-15T19:25:21Z

We want folks to use `kernel::fmt` but this is only used for `derive` so
can be removed entirely.

This backslid in commit ea60cea07d8c ("rust: add `Alignment` type").

Signed-off-by: Tamir Duberstein <tamird@gmail.com>
---
rust/kernel/ptr.rs | 1 -
1 file changed, 1 deletion(-)

diff --git a/rust/kernel/ptr.rs b/rust/kernel/ptr.rs
index 2e5e2a090480..e3893ed04049 100644
--- a/rust/kernel/ptr.rs
+++ b/rust/kernel/ptr.rs
@@ -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;

--
2.51.0