Skip to content

Commit

Permalink
Merge pull request rust-lang#508 from alexreg/cosmetic-1
Browse files Browse the repository at this point in the history
Removed copyright notices
  • Loading branch information
Centril authored Jan 13, 2019
2 parents 5865673 + 3e754d2 commit 315c089
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions stable-check/src/main.rs
Original file line number Diff line number Diff line change
@@ -1,13 +1,3 @@
// Copyright 2012-2014 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
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
// option. This file may not be copied, modified, or distributed
// except according to those terms.

use std::error::Error;
use std::env;
use std::fs;
Expand Down Expand Up @@ -44,7 +34,7 @@ fn check_directory(dir: &Path) -> Result<(), Box<Error>> {
file.read_to_string(&mut contents)?;

if contents.contains("#![feature") {
// attributes.md contains this and it is legitimate
// `attributes.md` contains this and it is legitimate.
if !contents.contains("#![feature(feature1, feature2, feature3)]") {
return Err(From::from(format!("Feature flag found in {:?}", path)));
}
Expand Down

0 comments on commit 315c089

Please sign in to comment.