rust: str: expose `str::{Formatter, RawFormatter}` publicly.
authorAndreas Hindborg <a.hindborg@kernel.org>
Tue, 2 Sep 2025 09:54:57 +0000 (11:54 +0200)
committerJens Axboe <axboe@kernel.dk>
Tue, 2 Sep 2025 11:23:56 +0000 (05:23 -0600)
commit8c5ac71cf19bc8a2ad5bc905d1fd3191d887d469
tree565b1d2b38141de71709df00c8d9a3bd2cb1389b
parent87482d6d9104d087935592ebbf52b70f8a777c47
rust: str: expose `str::{Formatter, RawFormatter}` publicly.

rnull is going to make use of `str::Formatter` and `str::RawFormatter`, so
expose them with public visibility.

Reviewed-by: Alice Ryhl <aliceryhl@google.com>
Reviewed-by: Daniel Almeida <daniel.almeida@collabora.com>
Signed-off-by: Andreas Hindborg <a.hindborg@kernel.org>
Link: https://lore.kernel.org/r/20250902-rnull-up-v6-16-v7-3-b5212cc89b98@kernel.org
Signed-off-by: Jens Axboe <axboe@kernel.dk>
rust/kernel/str.rs