diff options
| author | Seiichi Uchida <seuchida@gmail.com> | 2019-02-11 01:12:38 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-02-11 01:12:38 +0900 |
| commit | ce682bdabc39a7261eb5c3d43b20bb84fae64fde (patch) | |
| tree | ea0e42f4c8e1b5dbb8721b556645e6cfd5b78a29 /src/git-rustfmt/main.rs | |
| parent | fca91bc22f40aaf8e8fc949313b8f5b9c9ac90cc (diff) | |
| parent | 8183b949c49cfdd5889859162e82fab4c8e64065 (diff) | |
Merge pull request #3335 from h-michael/rust-2018
Rust 2018 idioms
Diffstat (limited to 'src/git-rustfmt/main.rs')
| -rw-r--r-- | src/git-rustfmt/main.rs | 6 |
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; |
