diff options
| author | Benno Lossin <[email protected]> | 2025-04-26 08:39:28 +0000 |
|---|---|---|
| committer | Benno Lossin <[email protected]> | 2025-05-01 16:16:22 +0000 |
| commit | 9de1a293c8ece00d226b21a35751ec178be2a9fa (patch) | |
| tree | 9de491a5191e80f047286e8c917efc96eacc0008 /scripts/rustdoc_test_builder.rs | |
| parent | rust: pin-init: fix typos (diff) | |
| download | kernel-9de1a293c8ece00d226b21a35751ec178be2a9fa.tar.gz kernel-9de1a293c8ece00d226b21a35751ec178be2a9fa.zip | |
rust: pin-init: improve documentation for `Zeroable` derive macros
Specify that both `MaybeZeroable` and `Zeroable` work on `union`s. Add a
doc example for a union. Also include an example with visibility on the
field.
Link: https://github.com/Rust-for-Linux/pin-init/pull/48/commits/ab0985a0e08df06c60a32ca5888f74adcc2c1cf3
Reviewed-by: Christian Schrefl <[email protected]>
Signed-off-by: Benno Lossin <[email protected]>
Diffstat (limited to 'scripts/rustdoc_test_builder.rs')
0 files changed, 0 insertions, 0 deletions
