Skip to contentSkip to conversation

rust: Implement Display and align Debug for Box

PATCH Superseded Guangbo Cui 1 participant 1 message Nov 4, 2024 Rust

v4 of 5 Superseded Latest is v5 →

lore
Share & tools
lore
#0 lore raw

v4 cover rust: Implement Display and align Debug for Box

This patch series introduces a Display implementation for Box and updates the Debug implementation to align its style with Display for consistency.

Changes in v4:
- Align Debug implementation with Display
- Link to v3: https://lore.kernel.org/rust-for-linux/[email protected]
Changes in v3:
- Update fmt implementation to clarify that it does not call itself infinitely.
- Link to v2: https://lore.kernel.org/rust-for-linux/[email protected]
Changes in v2:
- Add missing tag: Suggested-by.
- Update the patch title and the changelogs.
- Link to v1: https://lore.kernel.org/rust-for-linux/[email protected]

Guangbo Cui (2):
rust: Implement Display for Box
rust: align Debug implementation for Box with Display

 rust/kernel/alloc/kbox.rs | 12 +++++++++++-
 1 file changed, 11 insertions(+), 1 deletion(-)
Signature · 1 line
2.34.1