about summary refs log tree commit diff
path: root/src/git-rustfmt/main.rs
diff options
context:
space:
mode:
authorHirokazu Hata <h.hata.ai.t@gmail.com>2019-02-09 15:53:12 +0900
committerHirokazu Hata <h.hata.ai.t@gmail.com>2019-02-09 15:53:12 +0900
commitc0f93a6ea35c41859c21da7d90fb142fa34a2df4 (patch)
tree8dc9039ace091ef3011957e64057a7a8a910ef24 /src/git-rustfmt/main.rs
parente28fae99747af538a30452413692a015da93b490 (diff)
cargo +nightly fix --edition-idioms
Diffstat (limited to 'src/git-rustfmt/main.rs')
-rw-r--r--src/git-rustfmt/main.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/git-rustfmt/main.rs b/src/git-rustfmt/main.rs
index f7a181c4b6c..aae81ba3270 100644
--- a/src/git-rustfmt/main.rs
+++ b/src/git-rustfmt/main.rs
@@ -8,11 +8,11 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
-extern crate env_logger;
-extern crate getopts;
+use env_logger;
+
 #[macro_use]
 extern crate log;
-extern crate rustfmt_nightly as rustfmt;
+use rustfmt_nightly as rustfmt;
 
 use std::env;
 use std::io::stdout;