Fix clippy warnings (#1168)

This commit is contained in:
yjh
2019-10-24 23:54:31 +08:00
committed by Sean Stangl
parent 2b6ea31621
commit 1176e4f178
7 changed files with 40 additions and 54 deletions

View File

@@ -8,7 +8,7 @@ use crate::CommandResult;
use cranelift_reader::parse_functions;
pub fn run(files: &[String]) -> CommandResult {
for (i, f) in files.into_iter().enumerate() {
for (i, f) in files.iter().enumerate() {
if i != 0 {
println!();
}