about summary refs log tree commit diff
path: root/src/git-rustfmt
diff options
context:
space:
mode:
authorAlexander Regueiro <alex@noldorin.com>2019-02-19 02:56:42 +0000
committerSeiichi Uchida <seuchida@gmail.com>2019-02-19 11:56:42 +0900
commit7a3b7c9275f057aa1d71ea7516ef33a44bdffb7f (patch)
tree009cfe505aeb4da3150d487f1d676020549be362 /src/git-rustfmt
parent74755e86ab96ca8eaf9e3cd75a22e83edbfe8d43 (diff)
Various cosmetic improvements (#3403)
Diffstat (limited to 'src/git-rustfmt')
-rw-r--r--src/git-rustfmt/main.rs15
1 files changed, 2 insertions, 13 deletions
diff --git a/src/git-rustfmt/main.rs b/src/git-rustfmt/main.rs
index aae81ba3270..67b641a384d 100644
--- a/src/git-rustfmt/main.rs
+++ b/src/git-rustfmt/main.rs
@@ -1,18 +1,5 @@
-// Copyright 2018 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 env_logger;
-
 #[macro_use]
 extern crate log;
-use rustfmt_nightly as rustfmt;
 
 use std::env;
 use std::io::stdout;
@@ -20,7 +7,9 @@ use std::path::{Path, PathBuf};
 use std::process::Command;
 use std::str::FromStr;
 
+use env_logger;
 use getopts::{Matches, Options};
+use rustfmt_nightly as rustfmt;
 
 use crate::rustfmt::{load_config, CliOptions, Input, Session};