[PATCH 3/6] rust: use `kernel::{fmt,prelude::fmt!}`

Benno Lossin lossin at kernel.org
Sat Jul 5 09:23:52 UTC 2025


On Fri Jul 4, 2025 at 10:14 PM CEST, Tamir Duberstein wrote:
> Reduce coupling to implementation details of the formatting machinery by
> avoiding direct use for `core`'s formatting traits and macros.
>
> Signed-off-by: Tamir Duberstein <tamird at gmail.com>

Reviewed-by: Benno Lossin <lossin at kernel.org>

---
Cheers,
Benno

> ---
>  rust/kernel/error.rs            | 6 +++---
>  rust/kernel/print.rs            | 6 +++---
>  rust/kernel/str.rs              | 2 +-
>  samples/rust/rust_print_main.rs | 2 +-
>  4 files changed, 8 insertions(+), 8 deletions(-)


More information about the dri-devel mailing list