about summary refs log tree commit diff
path: root/src/format-diff/main.rs
diff options
context:
space:
mode:
authorSeiichi Uchida <seuchida@gmail.com>2019-02-11 01:12:38 +0900
committerGitHub <noreply@github.com>2019-02-11 01:12:38 +0900
commitce682bdabc39a7261eb5c3d43b20bb84fae64fde (patch)
treeea0e42f4c8e1b5dbb8721b556645e6cfd5b78a29 /src/format-diff/main.rs
parentfca91bc22f40aaf8e8fc949313b8f5b9c9ac90cc (diff)
parent8183b949c49cfdd5889859162e82fab4c8e64065 (diff)
Merge pull request #3335 from h-michael/rust-2018
Rust 2018 idioms
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};