diff --git a/LICENSE-MIT b/LICENSE-MIT index 5767dea4..31aa7938 100644 --- a/LICENSE-MIT +++ b/LICENSE-MIT @@ -1,5 +1,3 @@ -Copyright (c) 2018 Syn Developers - Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the diff --git a/src/attr.rs b/src/attr.rs index 8a89289d..84942650 100644 --- a/src/attr.rs +++ b/src/attr.rs @@ -1,11 +1,3 @@ -// Copyright 2018 Syn Developers -// -// Licensed under the Apache License, Version 2.0 or the MIT license -// , at your -// option. This file may not be copied, modified, or distributed -// except according to those terms. - use super::*; use punctuated::Punctuated; diff --git a/src/buffer.rs b/src/buffer.rs index e8e8c1a8..258f7b49 100644 --- a/src/buffer.rs +++ b/src/buffer.rs @@ -1,11 +1,3 @@ -// Copyright 2018 Syn Developers -// -// Licensed under the Apache License, Version 2.0 or the MIT license -// , at your -// option. This file may not be copied, modified, or distributed -// except according to those terms. - //! A stably addressed token buffer supporting efficient traversal based on a //! cheaply copyable cursor. //! diff --git a/src/data.rs b/src/data.rs index 4f0986a3..f54f5b9a 100644 --- a/src/data.rs +++ b/src/data.rs @@ -1,11 +1,3 @@ -// Copyright 2018 Syn Developers -// -// Licensed under the Apache License, Version 2.0 or the MIT license -// , at your -// option. This file may not be copied, modified, or distributed -// except according to those terms. - use super::*; use punctuated::Punctuated; diff --git a/src/derive.rs b/src/derive.rs index 5c1bb17c..48ae7e46 100644 --- a/src/derive.rs +++ b/src/derive.rs @@ -1,11 +1,3 @@ -// Copyright 2018 Syn Developers -// -// Licensed under the Apache License, Version 2.0 or the MIT license -// , at your -// option. This file may not be copied, modified, or distributed -// except according to those terms. - use super::*; use punctuated::Punctuated; diff --git a/src/error.rs b/src/error.rs index 957e5781..13095ccf 100644 --- a/src/error.rs +++ b/src/error.rs @@ -1,11 +1,3 @@ -// Copyright 2018 Syn Developers -// -// Licensed under the Apache License, Version 2.0 or the MIT license -// , at your -// option. This file may not be copied, modified, or distributed -// except according to those terms. - use std; use std::fmt::{self, Display}; use std::iter::FromIterator; diff --git a/src/expr.rs b/src/expr.rs index 85f02e4b..62c48321 100644 --- a/src/expr.rs +++ b/src/expr.rs @@ -1,11 +1,3 @@ -// Copyright 2018 Syn Developers -// -// Licensed under the Apache License, Version 2.0 or the MIT license -// , at your -// option. This file may not be copied, modified, or distributed -// except according to those terms. - use super::*; use proc_macro2::{Span, TokenStream}; use punctuated::Punctuated; diff --git a/src/file.rs b/src/file.rs index 1f6054ae..f1f70343 100644 --- a/src/file.rs +++ b/src/file.rs @@ -1,11 +1,3 @@ -// Copyright 2018 Syn Developers -// -// Licensed under the Apache License, Version 2.0 or the MIT license -// , at your -// option. This file may not be copied, modified, or distributed -// except according to those terms. - use super::*; ast_struct! { diff --git a/src/gen_helper.rs b/src/gen_helper.rs index fe00c8f7..b15b42be 100644 --- a/src/gen_helper.rs +++ b/src/gen_helper.rs @@ -1,11 +1,3 @@ -// Copyright 2018 Syn Developers -// -// Licensed under the Apache License, Version 2.0 or the MIT license -// , at your -// option. This file may not be copied, modified, or distributed -// except according to those terms. - #[cfg(feature = "fold")] pub mod fold { use fold::Fold; diff --git a/src/generics.rs b/src/generics.rs index 4e95480e..b73d7863 100644 --- a/src/generics.rs +++ b/src/generics.rs @@ -1,11 +1,3 @@ -// Copyright 2018 Syn Developers -// -// Licensed under the Apache License, Version 2.0 or the MIT license -// , at your -// option. This file may not be copied, modified, or distributed -// except according to those terms. - use super::*; use punctuated::{Iter, IterMut, Punctuated}; diff --git a/src/item.rs b/src/item.rs index 7c9066c3..62009287 100644 --- a/src/item.rs +++ b/src/item.rs @@ -1,11 +1,3 @@ -// Copyright 2018 Syn Developers -// -// Licensed under the Apache License, Version 2.0 or the MIT license -// , at your -// option. This file may not be copied, modified, or distributed -// except according to those terms. - use super::*; use derive::{Data, DeriveInput}; use proc_macro2::TokenStream; diff --git a/src/lib.rs b/src/lib.rs index 15b54652..b1e5f97e 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1,11 +1,3 @@ -// Copyright 2018 Syn Developers -// -// Licensed under the Apache License, Version 2.0 or the MIT license -// , at your -// option. This file may not be copied, modified, or distributed -// except according to those terms. - //! Syn is a parsing library for parsing a stream of Rust tokens into a syntax //! tree of Rust source code. //! diff --git a/src/lifetime.rs b/src/lifetime.rs index 3f093c81..dbf01a9c 100644 --- a/src/lifetime.rs +++ b/src/lifetime.rs @@ -1,11 +1,3 @@ -// Copyright 2018 Syn Developers -// -// Licensed under the Apache License, Version 2.0 or the MIT license -// , at your -// option. This file may not be copied, modified, or distributed -// except according to those terms. - use std::cmp::Ordering; use std::fmt::{self, Display}; use std::hash::{Hash, Hasher}; diff --git a/src/lit.rs b/src/lit.rs index d4670c0d..a39cd3c5 100644 --- a/src/lit.rs +++ b/src/lit.rs @@ -1,11 +1,3 @@ -// Copyright 2018 Syn Developers -// -// Licensed under the Apache License, Version 2.0 or the MIT license -// , at your -// option. This file may not be copied, modified, or distributed -// except according to those terms. - use proc_macro2::{Literal, Span}; use std::str; diff --git a/src/mac.rs b/src/mac.rs index 4bffb559..46dc5dd5 100644 --- a/src/mac.rs +++ b/src/mac.rs @@ -1,11 +1,3 @@ -// Copyright 2018 Syn Developers -// -// Licensed under the Apache License, Version 2.0 or the MIT license -// , at your -// option. This file may not be copied, modified, or distributed -// except according to those terms. - use super::*; use proc_macro2::TokenStream; #[cfg(feature = "parsing")] diff --git a/src/macros.rs b/src/macros.rs index aa995d32..bb59063a 100644 --- a/src/macros.rs +++ b/src/macros.rs @@ -1,11 +1,3 @@ -// Copyright 2018 Syn Developers -// -// Licensed under the Apache License, Version 2.0 or the MIT license -// , at your -// option. This file may not be copied, modified, or distributed -// except according to those terms. - #[cfg(any(feature = "full", feature = "derive"))] macro_rules! ast_struct { ( diff --git a/src/op.rs b/src/op.rs index c7772428..96d8c995 100644 --- a/src/op.rs +++ b/src/op.rs @@ -1,11 +1,3 @@ -// Copyright 2018 Syn Developers -// -// Licensed under the Apache License, Version 2.0 or the MIT license -// , at your -// option. This file may not be copied, modified, or distributed -// except according to those terms. - ast_enum! { /// A binary operator: `+`, `+=`, `&`. /// diff --git a/src/parse.rs b/src/parse.rs index 1ce65fbd..247d45f2 100644 --- a/src/parse.rs +++ b/src/parse.rs @@ -1,11 +1,3 @@ -// Copyright 2018 Syn Developers -// -// Licensed under the Apache License, Version 2.0 or the MIT license -// , at your -// option. This file may not be copied, modified, or distributed -// except according to those terms. - //! Parsing interface for parsing a token stream into a syntax tree node. //! //! Parsing in Syn is built on parser functions that take in a [`ParseStream`] diff --git a/src/path.rs b/src/path.rs index beb5fdd2..97ba58c7 100644 --- a/src/path.rs +++ b/src/path.rs @@ -1,11 +1,3 @@ -// Copyright 2018 Syn Developers -// -// Licensed under the Apache License, Version 2.0 or the MIT license -// , at your -// option. This file may not be copied, modified, or distributed -// except according to those terms. - use super::*; use punctuated::Punctuated; diff --git a/src/punctuated.rs b/src/punctuated.rs index 7bb73681..c6f07d30 100644 --- a/src/punctuated.rs +++ b/src/punctuated.rs @@ -1,11 +1,3 @@ -// Copyright 2018 Syn Developers -// -// Licensed under the Apache License, Version 2.0 or the MIT license -// , at your -// option. This file may not be copied, modified, or distributed -// except according to those terms. - //! A punctuated sequence of syntax tree nodes separated by punctuation. //! //! Lots of things in Rust are punctuated sequences. diff --git a/src/spanned.rs b/src/spanned.rs index 89787275..a1a2a9ab 100644 --- a/src/spanned.rs +++ b/src/spanned.rs @@ -1,11 +1,3 @@ -// Copyright 2018 Syn Developers -// -// Licensed under the Apache License, Version 2.0 or the MIT license -// , at your -// option. This file may not be copied, modified, or distributed -// except according to those terms. - //! A trait that can provide the `Span` of the complete contents of a syntax //! tree node. //! diff --git a/src/token.rs b/src/token.rs index 1453ae97..6409c510 100644 --- a/src/token.rs +++ b/src/token.rs @@ -1,11 +1,3 @@ -// Copyright 2018 Syn Developers -// -// Licensed under the Apache License, Version 2.0 or the MIT license -// , at your -// option. This file may not be copied, modified, or distributed -// except according to those terms. - //! Tokens representing Rust punctuation, keywords, and delimiters. //! //! The type names in this module can be difficult to keep straight, so we diff --git a/src/tt.rs b/src/tt.rs index 8a87762f..72bc3c11 100644 --- a/src/tt.rs +++ b/src/tt.rs @@ -1,11 +1,3 @@ -// Copyright 2018 Syn Developers -// -// Licensed under the Apache License, Version 2.0 or the MIT license -// , at your -// option. This file may not be copied, modified, or distributed -// except according to those terms. - use std::hash::{Hash, Hasher}; use proc_macro2::{Delimiter, TokenStream, TokenTree}; diff --git a/src/ty.rs b/src/ty.rs index 548bfb06..f53449f9 100644 --- a/src/ty.rs +++ b/src/ty.rs @@ -1,11 +1,3 @@ -// Copyright 2018 Syn Developers -// -// Licensed under the Apache License, Version 2.0 or the MIT license -// , at your -// option. This file may not be copied, modified, or distributed -// except according to those terms. - use super::*; use proc_macro2::TokenStream; use punctuated::Punctuated; diff --git a/tests/common/mod.rs b/tests/common/mod.rs index e7fbf4c6..8593c01f 100644 --- a/tests/common/mod.rs +++ b/tests/common/mod.rs @@ -1,11 +1,3 @@ -// Copyright 2018 Syn Developers -// -// Licensed under the Apache License, Version 2.0 or the MIT license -// , at your -// option. This file may not be copied, modified, or distributed -// except according to those terms. - #![allow(dead_code)] extern crate syntax; diff --git a/tests/common/parse.rs b/tests/common/parse.rs index 1c59f632..e0ebd8fa 100644 --- a/tests/common/parse.rs +++ b/tests/common/parse.rs @@ -1,11 +1,3 @@ -// Copyright 2018 Syn Developers -// -// Licensed under the Apache License, Version 2.0 or the MIT license -// , at your -// option. This file may not be copied, modified, or distributed -// except according to those terms. - extern crate proc_macro2; extern crate syn; extern crate syntax; diff --git a/tests/macros/mod.rs b/tests/macros/mod.rs index 820941f9..1b63ca1b 100644 --- a/tests/macros/mod.rs +++ b/tests/macros/mod.rs @@ -1,11 +1,3 @@ -// Copyright 2018 Syn Developers -// -// Licensed under the Apache License, Version 2.0 or the MIT license -// , at your -// option. This file may not be copied, modified, or distributed -// except according to those terms. - #[macro_export] macro_rules! errorf { ($($tt:tt)*) => {{ diff --git a/tests/test_asyncness.rs b/tests/test_asyncness.rs index 78bee8ce..3d59e6b0 100644 --- a/tests/test_asyncness.rs +++ b/tests/test_asyncness.rs @@ -1,11 +1,3 @@ -// Copyright 2018 Syn Developers -// -// Licensed under the Apache License, Version 2.0 or the MIT license -// , at your -// option. This file may not be copied, modified, or distributed -// except according to those terms. - extern crate proc_macro2; extern crate syn; diff --git a/tests/test_derive_input.rs b/tests/test_derive_input.rs index 634bbc71..63bdc23f 100644 --- a/tests/test_derive_input.rs +++ b/tests/test_derive_input.rs @@ -1,11 +1,3 @@ -// Copyright 2018 Syn Developers -// -// Licensed under the Apache License, Version 2.0 or the MIT license -// , at your -// option. This file may not be copied, modified, or distributed -// except according to those terms. - extern crate proc_macro2; extern crate syn; diff --git a/tests/test_generics.rs b/tests/test_generics.rs index a036a50b..05cdcbaf 100644 --- a/tests/test_generics.rs +++ b/tests/test_generics.rs @@ -1,11 +1,3 @@ -// Copyright 2018 Syn Developers -// -// Licensed under the Apache License, Version 2.0 or the MIT license -// , at your -// option. This file may not be copied, modified, or distributed -// except according to those terms. - #![recursion_limit = "1024"] #![feature(rustc_private)] diff --git a/tests/test_grouping.rs b/tests/test_grouping.rs index 7d2bcc62..887ac48e 100644 --- a/tests/test_grouping.rs +++ b/tests/test_grouping.rs @@ -1,11 +1,3 @@ -// Copyright 2018 Syn Developers -// -// Licensed under the Apache License, Version 2.0 or the MIT license -// , at your -// option. This file may not be copied, modified, or distributed -// except according to those terms. - #![recursion_limit = "1024"] #![feature(rustc_private)] diff --git a/tests/test_ident.rs b/tests/test_ident.rs index 58c2053d..bec00a70 100644 --- a/tests/test_ident.rs +++ b/tests/test_ident.rs @@ -1,11 +1,3 @@ -// Copyright 2018 Syn Developers -// -// Licensed under the Apache License, Version 2.0 or the MIT license -// , at your -// option. This file may not be copied, modified, or distributed -// except according to those terms. - extern crate proc_macro2; extern crate syn; diff --git a/tests/test_lit.rs b/tests/test_lit.rs index 2cdc7dc7..4425fcce 100644 --- a/tests/test_lit.rs +++ b/tests/test_lit.rs @@ -1,11 +1,3 @@ -// Copyright 2018 Syn Developers -// -// Licensed under the Apache License, Version 2.0 or the MIT license -// , at your -// option. This file may not be copied, modified, or distributed -// except according to those terms. - extern crate proc_macro2; extern crate quote; extern crate syn; diff --git a/tests/test_meta_item.rs b/tests/test_meta_item.rs index 4f6da4e5..40f42bcd 100644 --- a/tests/test_meta_item.rs +++ b/tests/test_meta_item.rs @@ -1,11 +1,3 @@ -// Copyright 2018 Syn Developers -// -// Licensed under the Apache License, Version 2.0 or the MIT license -// , at your -// option. This file may not be copied, modified, or distributed -// except according to those terms. - extern crate proc_macro2; extern crate quote; extern crate syn; diff --git a/tests/test_pat.rs b/tests/test_pat.rs index 8f04b0dc..c5423d98 100644 --- a/tests/test_pat.rs +++ b/tests/test_pat.rs @@ -1,11 +1,3 @@ -// Copyright 2018 Syn Developers -// -// Licensed under the Apache License, Version 2.0 or the MIT license -// , at your -// option. This file may not be copied, modified, or distributed -// except according to those terms. - #[macro_use] extern crate quote; extern crate syn; diff --git a/tests/test_precedence.rs b/tests/test_precedence.rs index 5dbaa2da..d86e66a8 100644 --- a/tests/test_precedence.rs +++ b/tests/test_precedence.rs @@ -1,11 +1,3 @@ -// Copyright 2018 Syn Developers -// -// Licensed under the Apache License, Version 2.0 or the MIT license -// , at your -// option. This file may not be copied, modified, or distributed -// except according to those terms. - #![recursion_limit = "1024"] #![feature(rustc_private)] diff --git a/tests/test_round_trip.rs b/tests/test_round_trip.rs index 96a82dca..e8795016 100644 --- a/tests/test_round_trip.rs +++ b/tests/test_round_trip.rs @@ -1,11 +1,3 @@ -// Copyright 2018 Syn Developers -// -// Licensed under the Apache License, Version 2.0 or the MIT license -// , at your -// option. This file may not be copied, modified, or distributed -// except according to those terms. - #![recursion_limit = "1024"] #![feature(rustc_private)] diff --git a/tests/test_should_parse.rs b/tests/test_should_parse.rs index a8198044..9f480d6c 100644 --- a/tests/test_should_parse.rs +++ b/tests/test_should_parse.rs @@ -1,11 +1,3 @@ -// Copyright 2018 Syn Developers -// -// Licensed under the Apache License, Version 2.0 or the MIT license -// , at your -// option. This file may not be copied, modified, or distributed -// except according to those terms. - extern crate syn; mod features; diff --git a/tests/test_token_trees.rs b/tests/test_token_trees.rs index 9f798145..a927875d 100644 --- a/tests/test_token_trees.rs +++ b/tests/test_token_trees.rs @@ -1,11 +1,3 @@ -// Copyright 2018 Syn Developers -// -// Licensed under the Apache License, Version 2.0 or the MIT license -// , at your -// option. This file may not be copied, modified, or distributed -// except according to those terms. - extern crate proc_macro2; #[macro_use] extern crate quote;