Add license headers

This commit is contained in:
Manish Goregaokar 2014-09-20 23:50:37 +05:30
parent fcb25a35ec
commit 2a4f9fd8a3
3 changed files with 15 additions and 2 deletions

View file

@ -1,3 +1,7 @@
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
use syntax::{ast, codemap, visit};
use syntax::attr::AttrMetaMethods;
use rustc::lint::{Context, LintPass, LintArray};
@ -140,4 +144,4 @@ impl LintPass for UnrootedPass {
_ => {}
}
}
}
}

View file

@ -1,3 +1,7 @@
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
//! Exports macros for use in other Servo crates.
#[macro_export]

View file

@ -1,4 +1,8 @@
use std::collections::hashmap::HashMap;
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
use std::collections::hashmap::HashMap;
lazy_init! {
static ref NUMBER: uint = times_two(3);
@ -32,3 +36,4 @@ fn test_repeat() {
assert_eq!(*NUMBER, 6);
assert_eq!(*NUMBER, 6);
}