]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
rust: remove spurious `use core::fmt::Debug`
authorTamir Duberstein <tamird@gmail.com>
Sat, 18 Oct 2025 19:16:30 +0000 (15:16 -0400)
committerMiguel Ojeda <ojeda@kernel.org>
Mon, 20 Oct 2025 02:04:24 +0000 (04:04 +0200)
commit5b60cde74bb77aaec72d47fc208e4b057f618336
treecb0d2c665b2182a0048b4727d0de481d310dbe20
parent0e947bc22b0bdac7f708a0c6856f5999baff7b5d
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 ea60cea07d8c ("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>
rust/kernel/ptr.rs