Skip to content

Commit dee6833

Browse files
committed
Add missing license headers and relicense src/macros/visit.rs
1 parent 7a3cde0 commit dee6833

File tree

4 files changed

+13
-11
lines changed

4 files changed

+13
-11
lines changed

build.rs

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
/* This Source Code Form is subject to the terms of the Mozilla Public
2+
* License, v. 2.0. If a copy of the MPL was not distributed with this
3+
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
14

25
#[macro_use] extern crate quote;
36
extern crate syn;

src/macros/match_byte.rs

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
/* This Source Code Form is subject to the terms of the Mozilla Public
2+
* License, v. 2.0. If a copy of the MPL was not distributed with this
3+
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
14

25
use quote::{ToTokens, Tokens};
36
use super::visit::{Visitor, RecursiveVisitor};

src/macros/mod.rs

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1-
2-
1+
/* This Source Code Form is subject to the terms of the Mozilla Public
2+
* License, v. 2.0. If a copy of the MPL was not distributed with this
3+
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
34

45
pub mod match_byte;
56
pub mod visit;

src/macros/visit.rs

+4-9
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,8 @@
1-
// Copyright 2016 The html5ever Project Developers. See the
2-
// COPYRIGHT file at the top-level directory of this distribution.
3-
//
4-
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
5-
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
6-
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
7-
// option. This file may not be copied, modified, or distributed
8-
// except according to those terms.
1+
/* This Source Code Form is subject to the terms of the Mozilla Public
2+
* License, v. 2.0. If a copy of the MPL was not distributed with this
3+
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
94

10-
/// Just enough of an AST visitor to reach every expression.
5+
/// Just enough of an AST visitor to reach every expression and statement.
116
127
use syn;
138

0 commit comments

Comments
 (0)