rust: pin-init: change `impl Zeroable for Option<NonNull<T>>` to `ZeroableOption...
authorBenno Lossin <lossin@kernel.org>
Fri, 23 May 2025 14:51:01 +0000 (16:51 +0200)
committerBenno Lossin <lossin@kernel.org>
Wed, 11 Jun 2025 19:13:56 +0000 (21:13 +0200)
commit9f473538706b9fb5e82c9864b04089d35e4f93d5
tree51a42814606cf189d31fb2d77da50119aef316a1
parente93a238605348bc40fed77ba5582e311376d113b
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/20250523145125.523275-6-lossin@kernel.org
Signed-off-by: Benno Lossin <lossin@kernel.org>
rust/pin-init/src/lib.rs