diff --git a/src/bin/rustfmt.rs b/src/bin/rustfmt.rs index 713d320aa78..75b45156ace 100644 --- a/src/bin/rustfmt.rs +++ b/src/bin/rustfmt.rs @@ -20,7 +20,7 @@ use std::io::{self, Read, Write}; use std::path::{Path, PathBuf}; use std::str::FromStr; -use getopts::{HasArg, Matches, Occur, Options}; +use getopts::{Matches, Options}; use rustfmt::{run, Input, Summary}; use rustfmt::file_lines::FileLines;