about summary refs log tree commit diff
path: root/src/libsyntax
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2014-01-04 21:31:51 -0800
committerbors <bors@rust-lang.org>2014-01-04 21:31:51 -0800
commit46412876287e2f6ad2c7058c42ddc2cd6299483f (patch)
tree2507bc477a6e857a5aa252b0c1b203f9a8d2db52 /src/libsyntax
parentbf9a9afc7ca086f7ef2fafa7eb791c2ca92e0ddf (diff)
parent24f9a93872eb572bbe1574669c40c9b003e8c473 (diff)
downloadrust-46412876287e2f6ad2c7058c42ddc2cd6299483f.tar.gz
rust-46412876287e2f6ad2c7058c42ddc2cd6299483f.zip
auto merge of #11314 : adridu59/rust/patch-license, r=brson
- don't check for an hardcoded copyright claim year, check the 2 surrounding strings instead
- logic: if either the `//` or `#`-style copyright patterns are found, don't invalidate
- cleanup hardcoded content and streamline the few files with different line breaks

r? @brson
Diffstat (limited to 'src/libsyntax')
-rw-r--r--src/libsyntax/ext/source_util.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libsyntax/ext/source_util.rs b/src/libsyntax/ext/source_util.rs
index 5f634f7f054..57da01ccad0 100644
--- a/src/libsyntax/ext/source_util.rs
+++ b/src/libsyntax/ext/source_util.rs
@@ -1,5 +1,5 @@
-// Copyright 2012-2013 The Rust Project Developers. See the
-// COPYRIGHT file at the top-level directory of this distribution and at
+// Copyright 2012-2013 The Rust Project Developers. See the COPYRIGHT
+// file at the top-level directory of this distribution and at
 // http://rust-lang.org/COPYRIGHT.
 //
 // Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or