summaryrefslogtreecommitdiff
path: root/rust/syn/whitespace.rs
diff options
context:
space:
mode:
Diffstat (limited to 'rust/syn/whitespace.rs')
-rw-r--r--rust/syn/whitespace.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/rust/syn/whitespace.rs b/rust/syn/whitespace.rs
index a50b5069a68b..b7319bd7af18 100644
--- a/rust/syn/whitespace.rs
+++ b/rust/syn/whitespace.rs
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: Apache-2.0 OR MIT
+
pub(crate) fn skip(mut s: &str) -> &str {
'skip: while !s.is_empty() {
let byte = s.as_bytes()[0];