diff options
author | Benno Lossin <benno.lossin@proton.me> | 2023-04-13 12:02:17 +0200 |
---|---|---|
committer | Miguel Ojeda <ojeda@kernel.org> | 2023-04-21 00:35:26 +0200 |
commit | 52a7f2deb4be8706bcbd16bba1d70eb2b5735d19 (patch) | |
tree | 4850d2e3dcaecbb44161d1246c70a753b23925d1 /fs/binfmt_elf_fdpic.c | |
parent | rust: sync: add functions for initializing `UniqueArc<MaybeUninit<T>>` (diff) | |
download | linux-52a7f2deb4be8706bcbd16bba1d70eb2b5735d19.tar.xz linux-52a7f2deb4be8706bcbd16bba1d70eb2b5735d19.zip |
rust: init: broaden the blanket impl of `Init`
This makes it possible to use `T` as a `impl Init<T, E>` for every error
type `E` instead of just `Infallible`.
Signed-off-by: Benno Lossin <benno.lossin@proton.me>
Reviewed-by: Gary Guo <gary@garyguo.net>
Reviewed-by: Martin Rodriguez Reboredo <yakoyoku@gmail.com>
Link: https://lore.kernel.org/r/20230413100157.740697-1-benno.lossin@proton.me
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
Diffstat (limited to 'fs/binfmt_elf_fdpic.c')
0 files changed, 0 insertions, 0 deletions