rust: Add SPDX headers to alloc::vec::{spec_extend, set_len_on_drop}
authorAsahi Lina <lina@asahilina.net>
Fri, 24 Feb 2023 09:11:49 +0000 (18:11 +0900)
committerMiguel Ojeda <ojeda@kernel.org>
Mon, 10 Apr 2023 21:55:19 +0000 (23:55 +0200)
commit3dcb652a3afc4b32cf8d3c1605c8cf22ad174a07
treea5f8543160ebe5f42868c9bb5edfe135d418bc60
parentae12ae137270e2e8890dd375aeca6d90556d2629
rust: Add SPDX headers to alloc::vec::{spec_extend, set_len_on_drop}

Add the missing SPDX headers to these modules, which were just imported
from the Rust stdlib. Doing this in a separate commit makes it easier to
audit that the files have not been modified in the original import.

See the preceding two commits for attribution and licensing details.

Signed-off-by: Asahi Lina <lina@asahilina.net>
Link: https://lore.kernel.org/r/20230224-rust-vec-v1-3-733b5b5a57c5@asahilina.net
[ Reworded for typo. ]
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
rust/alloc/vec/set_len_on_drop.rs
rust/alloc/vec/spec_extend.rs