diff options
author | Benno Lossin <benno.lossin@proton.me> | 2025-04-26 08:39:28 +0000 |
---|---|---|
committer | Benno Lossin <benno.lossin@proton.me> | 2025-05-01 18:16:22 +0200 |
commit | 9de1a293c8ece00d226b21a35751ec178be2a9fa (patch) | |
tree | 9de491a5191e80f047286e8c917efc96eacc0008 /scripts/generate_rust_analyzer.py | |
parent | a919ba21594bfa1e67639785d409e1bdce332097 (diff) |
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 <chrisi.schrefl@gmail.com>
Signed-off-by: Benno Lossin <benno.lossin@proton.me>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions