summaryrefslogtreecommitdiff
path: root/rust/bindings
diff options
context:
space:
mode:
authorBenno Lossin <benno.lossin@proton.me>2023-08-14 11:47:40 +0300
committerMiguel Ojeda <ojeda@kernel.org>2023-08-21 15:31:49 +0300
commit1a8076ac6d83825bedb2050e67db0f2635acbb09 (patch)
tree63bf052855987033b3f1e72920f2a1a6cea31105 /rust/bindings
parent2e704f1883f5dd2f1380944c7d969c817fcd189e (diff)
downloadlinux-1a8076ac6d83825bedb2050e67db0f2635acbb09.tar.xz
rust: init: make `PinInit<T, E>` a supertrait of `Init<T, E>`
Remove the blanket implementation of `PinInit<T, E> for I where I: Init<T, E>`. This blanket implementation prevented custom types that implement `PinInit`. Reviewed-by: Martin Rodriguez Reboredo <yakoyoku@gmail.com> Reviewed-by: Alice Ryhl <aliceryhl@google.com> Reviewed-by: Gary Guo <gary@garyguo.net> Signed-off-by: Benno Lossin <benno.lossin@proton.me> Link: https://lore.kernel.org/r/20230814084602.25699-12-benno.lossin@proton.me Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
Diffstat (limited to 'rust/bindings')
0 files changed, 0 insertions, 0 deletions