diff options
author | Boqun Feng <boqun.feng@gmail.com> | 2023-02-07 10:52:16 -0800 |
---|---|---|
committer | Miguel Ojeda <ojeda@kernel.org> | 2023-04-10 05:05:43 +0200 |
commit | f431c5c581fa176f608ba3fdebb3c1051bad5774 (patch) | |
tree | 05bf3b7e7e5c343c883c4f5077cddcf3bd3a9568 /fs/affs/symlink.c | |
parent | 00140a8308367208d56e93cf08fa1636202a0dc7 (diff) |
samples: rust: print: Add sample code for Arc printing
This both demonstrates the usage of different print format in Rust and
serves as a selftest for the `Display` and `Debug` implementation of
`Arc` and its friends.
Signed-off-by: Boqun Feng <boqun.feng@gmail.com>
Reviewed-by: Björn Roy Baron <bjorn3_gh@protonmail.com>
Reviewed-by: Finn Behrens <fin@nyantec.com>
Reviewed-by: Vincenzo Palazzo <vincenzopalazzodev@gmail.com>
Reviewed-by: Gary Guo <gary@garyguo.net>
Reviewed-by: Andreas Hindborg <a.hindborg@samsung.com>
Link: https://lore.kernel.org/r/20230207185216.1314638-3-boqun.feng@gmail.com
[ Applied suggestions and reworded for fixing title typos. ]
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
Diffstat (limited to 'fs/affs/symlink.c')
0 files changed, 0 insertions, 0 deletions