bianbu-linux-6.6/rust/alloc/vec
Asahi Lina 65b571afdf rust: Import upstream alloc::vec::set_len_on_drop module
This is a subset of the Rust standard library `alloc` crate,
version 1.62.0, licensed under "Apache-2.0 OR MIT", from:

    https://github.com/rust-lang/rust/tree/1.62.0/library/alloc/src

The file is copied as-is, with no modifications whatsoever
(not even adding the SPDX identifiers).

For copyright details, please see:

    https://github.com/rust-lang/rust/blob/1.62.0/COPYRIGHT

Signed-off-by: Asahi Lina <lina@asahilina.net>
Link: https://lore.kernel.org/r/20230224-rust-vec-v1-1-733b5b5a57c5@asahilina.net
[ Import version 1.62.0 instead, to match the one in mainline. ]
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
2023-04-10 05:21:26 +02:00
..
drain.rs rust: adapt alloc crate to the kernel 2022-09-28 08:57:01 +02:00
drain_filter.rs rust: adapt alloc crate to the kernel 2022-09-28 08:57:01 +02:00
into_iter.rs rust: adapt alloc crate to the kernel 2022-09-28 08:57:01 +02:00
is_zero.rs rust: adapt alloc crate to the kernel 2022-09-28 08:57:01 +02:00
mod.rs rust: alloc: remove the borrow module (ToOwned, Cow) 2023-01-16 21:03:49 +01:00
partial_eq.rs rust: adapt alloc crate to the kernel 2022-09-28 08:57:01 +02:00
set_len_on_drop.rs rust: Import upstream alloc::vec::set_len_on_drop module 2023-04-10 05:21:26 +02:00