Skip to content

Commit cef2d41

Browse files
committed
rust: syn: add SPDX License Identifiers
Signed-off-by: Miguel Ojeda <[email protected]>
1 parent 328f151 commit cef2d41

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

52 files changed

+104
-0
lines changed

rust/syn/attr.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(feature = "parsing")]
24
use crate::error::Error;
35
#[cfg(feature = "parsing")]

rust/syn/bigint.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
use std::ops::{AddAssign, MulAssign};
24

35
// For implementing base10_digits() accessor on LitInt.

rust/syn/buffer.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
//! A stably addressed token buffer supporting efficient traversal based on a
24
//! cheaply copyable cursor.
35

rust/syn/custom_keyword.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
/// Define a type that supports parsing and printing a given identifier as if it
24
/// were a keyword.
35
///

rust/syn/custom_punctuation.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
/// Define a type that supports parsing and printing a multi-character symbol
24
/// as if it were a punctuation token.
35
///

rust/syn/data.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
use crate::attr::Attribute;
24
use crate::expr::Expr;
35
use crate::ident::Ident;

rust/syn/derive.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
use crate::attr::Attribute;
24
use crate::data::{Fields, FieldsNamed, Variant};
35
use crate::generics::Generics;

rust/syn/discouraged.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
//! Extensions to the parsing API with niche applicability.
24
35
use crate::buffer::Cursor;

rust/syn/drops.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
use std::iter;
24
use std::mem::ManuallyDrop;
35
use std::ops::{Deref, DerefMut};

rust/syn/error.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(feature = "parsing")]
24
use crate::buffer::Cursor;
35
use crate::thread::ThreadBound;

0 commit comments

Comments
 (0)