about summary refs log tree commit diff
path: root/src/git-rustfmt
diff options
context:
space:
mode:
Diffstat (limited to 'src/git-rustfmt')
-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;