rust: Import upstream `alloc::vec::spec_extend` module
authorAsahi Lina <lina@asahilina.net>
Fri, 24 Feb 2023 09:11:48 +0000 (18:11 +0900)
committerMiguel Ojeda <ojeda@kernel.org>
Mon, 10 Apr 2023 03:21:33 +0000 (05:21 +0200)
commitae12ae137270e2e8890dd375aeca6d90556d2629
tree4dd0bbc2b07b634495f4bba803e42a9d66295a5a
parent65b571afdfdcefa09508274488086b218e34906d
rust: Import upstream `alloc::vec::spec_extend` 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-2-733b5b5a57c5@asahilina.net
[ Import version 1.62.0 instead, to match the one in mainline. ]
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
rust/alloc/vec/spec_extend.rs [new file with mode: 0644]