linux/rust
Boqun Feng 00140a8308 rust: sync: impl {Debug,Display} for {Unique,}Arc
This allows printing the inner data of `Arc` and its friends if the
inner data implements `Display` or `Debug`. It's useful for logging and
debugging purpose.

Signed-off-by: Boqun Feng <boqun.feng@gmail.com>
Reviewed-by: Vincenzo Palazzo <vincenzopalazzodev@gmail.com>
Reviewed-by: Gary Guo <gary@garyguo.net>
Reviewed-by: Andreas Hindborg <a.hindborg@samsung.com>
Reviewed-by: Björn Roy Baron <bjorn3_gh@protonmail.com>
Link: https://lore.kernel.org/r/20230207185216.1314638-2-boqun.feng@gmail.com
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
2023-04-10 05:05:39 +02:00
..
alloc rust: alloc: remove the borrow module (ToOwned, Cow) 2023-01-16 21:03:49 +01:00
bindings rust: sync: add Arc for ref-counted allocations 2023-01-16 22:20:03 +01:00
kernel rust: sync: impl {Debug,Display} for {Unique,}Arc 2023-04-10 05:05:39 +02:00
macros rust: macros: take string literals in module! 2022-12-04 01:59:15 +01:00
.gitignore kbuild: rust: move rust/target.json to scripts/ 2023-01-22 23:43:33 +09:00
bindgen_parameters rust: bindgen: Add alt_instr as opaque type 2023-03-02 22:44:15 +01:00
build_error.rs rust: add build_error crate 2022-12-04 01:59:16 +01:00
compiler_builtins.rs rust: compiler_builtins: make stubs non-global 2023-01-16 21:04:34 +01:00
exports.c rust: add build_error crate 2022-12-04 01:59:16 +01:00
helpers.c rust: sync: add Arc for ref-counted allocations 2023-01-16 22:20:03 +01:00
Makefile Kbuild updates for v6.3 2023-02-26 11:53:25 -08:00