summaryrefslogtreecommitdiffstats
path: root/rust/macros/module.rs
diff options
context:
space:
mode:
authorMiguel Ojeda <ojeda@kernel.org>2023-02-24 18:11:50 +0900
committerMiguel Ojeda <ojeda@kernel.org>2023-04-10 23:55:43 +0200
commit318c3cc8e107c2b36108132057ca90d0d56d1bd9 (patch)
treec794f8b17ba3e4920809d372b1912859720c5cb7 /rust/macros/module.rs
parent3dcb652a3afc4b32cf8d3c1605c8cf22ad174a07 (diff)
downloadlinux-318c3cc8e107c2b36108132057ca90d0d56d1bd9.tar.gz
linux-318c3cc8e107c2b36108132057ca90d0d56d1bd9.tar.bz2
linux-318c3cc8e107c2b36108132057ca90d0d56d1bd9.zip
rust: alloc: vec: Add some try_* methods we need
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: https://github.com/Rust-for-Linux/linux/commit/487d7578bd03 Link: https://lore.kernel.org/r/20230224-rust-vec-v1-4-733b5b5a57c5@asahilina.net [ Match the non-fallible methods from version 1.62.0, since those in commit 487d7578bd03 were written for 1.54.0-beta.1. ] Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
Diffstat (limited to 'rust/macros/module.rs')
0 files changed, 0 insertions, 0 deletions