mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-05 16:54:27 +00:00

`kernel::fmt` is a facade over `core::fmt` that can be used downstream, allowing future changes to the formatting machinery to be contained within the kernel crate without downstream code needing to be modified. Signed-off-by: Tamir Duberstein <tamird@gmail.com> Reviewed-by: Benno Lossin <lossin@kernel.org> Reviewed-by: Alice Ryhl <aliceryhl@google.com> Link: https://lore.kernel.org/r/20250704-core-cstr-prepare-v1-2-a91524037783@gmail.com Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
7 lines
228 B
Rust
7 lines
228 B
Rust
// SPDX-License-Identifier: GPL-2.0
|
|
|
|
//! Formatting utilities.
|
|
//!
|
|
//! This module is intended to be used in place of `core::fmt` in kernel code.
|
|
|
|
pub use core::fmt::{Arguments, Debug, Display, Error, Formatter, Result, Write};
|