about summary refs log tree commit diff
path: root/src/rustfmt_diff.rs
diff options
context:
space:
mode:
authortopecongiro <seuchida@gmail.com>2017-07-13 18:42:14 +0900
committertopecongiro <seuchida@gmail.com>2017-07-13 18:42:14 +0900
commit6fd291981e1bb7deba30644c09798087e84203ec (patch)
treedb1d8913bb1c5374dbfd34afecd76bc791617aaf /src/rustfmt_diff.rs
parent27b04fec1a05b4ebf034dcd466a04bb40fd06f4f (diff)
Sort imports in alphabetical and consistent order
Diffstat (limited to 'src/rustfmt_diff.rs')
-rw-r--r--src/rustfmt_diff.rs14
1 files changed, 12 insertions, 2 deletions
diff --git a/src/rustfmt_diff.rs b/src/rustfmt_diff.rs
index ff35a83cc63..3e9fd913d7c 100644
--- a/src/rustfmt_diff.rs
+++ b/src/rustfmt_diff.rs
@@ -1,7 +1,17 @@
-use std::collections::VecDeque;
+// Copyright 2017 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 diff;
-use term;
+use std::collections::VecDeque;
 use std::io;
+use term;
 
 #[derive(Debug, PartialEq)]
 pub enum DiffLine {