aboutsummaryrefslogtreecommitdiffstats
path: root/rust/pin-init/examples/static_init.rs
diff options
context:
space:
mode:
authorBenno Lossin <[email protected]>2025-05-23 14:51:01 +0000
committerBenno Lossin <[email protected]>2025-06-11 19:13:56 +0000
commit9f473538706b9fb5e82c9864b04089d35e4f93d5 (patch)
tree51a42814606cf189d31fb2d77da50119aef316a1 /rust/pin-init/examples/static_init.rs
parentrust: pin-init: implement `ZeroableOption` for `&T` and `&mut T` (diff)
downloadkernel-9f473538706b9fb5e82c9864b04089d35e4f93d5.tar.gz
kernel-9f473538706b9fb5e82c9864b04089d35e4f93d5.zip
rust: pin-init: change `impl Zeroable for Option<NonNull<T>>` to `ZeroableOption for NonNull<T>`
This brings it in line with references. It too is listed in [1]. Link: https://doc.rust-lang.org/stable/std/option/index.html#representation Link: https://github.com/Rust-for-Linux/pin-init/pull/56/commits/8e52bf56ddc2190ce901d2f7c008ab8a64f653a9 Link: https://lore.kernel.org/all/[email protected] Signed-off-by: Benno Lossin <[email protected]>
Diffstat (limited to 'rust/pin-init/examples/static_init.rs')
0 files changed, 0 insertions, 0 deletions