mirror of
https://gitee.com/bianbu-linux/linux-6.6
synced 2025-04-24 14:07:52 -04:00
Add some missing fallible methods that we need.
They are all marked as:
#[stable(feature = "kernel", since = "1.0.0")]
for easy identification.
Lina: Extracted from commit 487d7578bd03 ("rust: alloc: add some `try_*`
methods we need") in rust-for-linux/rust.
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
Signed-off-by: Asahi Lina <lina@asahilina.net>
Link:
|
||
---|---|---|
.. | ||
drain.rs | ||
drain_filter.rs | ||
into_iter.rs | ||
is_zero.rs | ||
mod.rs | ||
partial_eq.rs | ||
set_len_on_drop.rs | ||
spec_extend.rs |