From 2a4f9fd8a33734811acdb6d69d4f479f91527d6e Mon Sep 17 00:00:00 2001 From: Manish Goregaokar Date: Sat, 20 Sep 2014 23:50:37 +0530 Subject: [PATCH] Add license headers --- components/plugins/lints.rs | 6 +++++- components/plugins/macros.rs | 4 ++++ components/plugins/tests.rs | 7 ++++++- 3 files changed, 15 insertions(+), 2 deletions(-) diff --git a/components/plugins/lints.rs b/components/plugins/lints.rs index b7eedd9fddc..34e73d2475c 100644 --- a/components/plugins/lints.rs +++ b/components/plugins/lints.rs @@ -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 { _ => {} } } -} \ No newline at end of file +} diff --git a/components/plugins/macros.rs b/components/plugins/macros.rs index fde756d6895..12a1953c43c 100644 --- a/components/plugins/macros.rs +++ b/components/plugins/macros.rs @@ -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] diff --git a/components/plugins/tests.rs b/components/plugins/tests.rs index ac8f8c3486e..fd78e2038fa 100644 --- a/components/plugins/tests.rs +++ b/components/plugins/tests.rs @@ -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); } +