mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs.git
synced 2026-10-31 06:14:39 +01: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 <[email protected]> Reviewed-by: Benno Lossin <[email protected]> Reviewed-by: Alice Ryhl <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Miguel Ojeda <[email protected]>
8 lines
228 B
Rust
8 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};
|