diff options
| author | Tamir Duberstein <tamird@gmail.com> | 2025-10-18 15:16:27 -0400 |
|---|---|---|
| committer | Miguel Ojeda <ojeda@kernel.org> | 2025-10-20 04:04:23 +0200 |
| commit | b0af4f9142d046e6564479a3afb1b35479d81039 (patch) | |
| tree | 80fe1d602b6097b63db231bdb691bd7d1ae88b16 /rust/kernel/debugfs/traits.rs | |
| parent | 5cc5d805e3ca44831ee668762dc6ee8876d14a37 (diff) | |
rust: alloc: use `kernel::fmt`
Reduce coupling to implementation details of the formatting machinery by
avoiding direct use for `core`'s formatting traits and macros.
This backslid in commit 9def0d0a2a1c ("rust: alloc: add
Vec::push_within_capacity").
Reviewed-by: Alice Ryhl <aliceryhl@google.com>
Acked-by: Danilo Krummrich <dakr@kernel.org>
Signed-off-by: Tamir Duberstein <tamird@gmail.com>
Link: https://patch.msgid.link/20251018-cstr-core-v18-6-9378a54385f8@gmail.com
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
Diffstat (limited to 'rust/kernel/debugfs/traits.rs')
0 files changed, 0 insertions, 0 deletions