From c0f93a6ea35c41859c21da7d90fb142fa34a2df4 Mon Sep 17 00:00:00 2001 From: Hirokazu Hata Date: Sat, 9 Feb 2019 15:53:12 +0900 Subject: cargo +nightly fix --edition-idioms --- src/format-diff/main.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/format-diff') 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}; -- cgit 1.4.1-3-g733a5