Remove iter() in for loop

This commit is contained in:
topecongiro 2017-10-28 01:39:01 +09:00
parent 3b0d2c1426
commit d10df70138

View File

@ -372,10 +372,10 @@ fn format_files(
};
if verbosity == Verbosity::Verbose {
print!("rustfmt");
for a in fmt_args.iter() {
for a in fmt_args {
print!(" {}", a);
}
for f in files.iter() {
for f in files {
print!(" {}", f.display());
}
println!("");