summaryrefslogtreecommitdiff
path: root/rust/alloc/vec/drain_filter.rs
diff options
context:
space:
mode:
Diffstat (limited to 'rust/alloc/vec/drain_filter.rs')
-rw-r--r--rust/alloc/vec/drain_filter.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/rust/alloc/vec/drain_filter.rs b/rust/alloc/vec/drain_filter.rs
index 3c37c92ae44b..b04fce041622 100644
--- a/rust/alloc/vec/drain_filter.rs
+++ b/rust/alloc/vec/drain_filter.rs
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: Apache-2.0 OR MIT
+
use crate::alloc::{Allocator, Global};
use core::ptr::{self};
use core::slice::{self};