Skip to content

Commit 0473a8d

Browse files
committed
rust: alloc: add missing SPDX-License-Identifiers
These should have been there in the last `alloc` version upgrade. Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
1 parent 10664d3 commit 0473a8d

File tree

3 files changed

+6
-0
lines changed

3 files changed

+6
-0
lines changed

rust/alloc/boxed/thin.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// SPDX-License-Identifier: Apache-2.0 OR MIT
2+
13
// Based on
24
// https://github.com/matthieu-m/rfc2580/blob/b58d1d3cba0d4b5e859d3617ea2d0943aaa31329/examples/thin.rs
35
// by matthieu-m

rust/alloc/ffi/c_str.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// SPDX-License-Identifier: Apache-2.0 OR MIT
2+
13
#[cfg(test)]
24
mod tests;
35

rust/alloc/ffi/mod.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// SPDX-License-Identifier: Apache-2.0 OR MIT
2+
13
//! Utilities related to FFI bindings.
24
//!
35
//! This module provides utilities to handle data across non-Rust

0 commit comments

Comments
 (0)