Remove iter() in for loop
This commit is contained in:
parent
3b0d2c1426
commit
d10df70138
@ -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!("");
|
||||
|
Loading…
Reference in New Issue
Block a user