about summary refs log tree commit diff
path: root/src/format-diff/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/format-diff/main.rs')
-rw-r--r--src/format-diff/main.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/format-diff/main.rs b/src/format-diff/main.rs
index aacfa12d437..5ffff79811c 100644
--- a/src/format-diff/main.rs
+++ b/src/format-diff/main.rs
@@ -14,16 +14,16 @@
 
 #![deny(warnings)]
 
-extern crate env_logger;
+use env_logger;
 #[macro_use]
 extern crate failure;
-extern crate getopts;
+use getopts;
 #[macro_use]
 extern crate log;
-extern crate regex;
+use regex;
 #[macro_use]
 extern crate serde_derive;
-extern crate serde_json as json;
+use serde_json as json;
 
 use std::collections::HashSet;
 use std::io::{self, BufRead};