Skip to content

Commit 6772991

Browse files
committed
Remove unnecessary collect
1 parent 711539f commit 6772991

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cargo/ops/cargo_compile.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -588,7 +588,7 @@ pub fn create_bcx<'a, 'cfg>(
588588
extra_compiler_args
589589
.entry(unit.clone())
590590
.or_default()
591-
.extend(args.into_iter().map(OsString::from).collect::<Vec<_>>());
591+
.extend(args.into_iter().map(OsString::from));
592592
}
593593
}
594594
}

0 commit comments

Comments
 (0)