Skip to content

Commit eb96a36

Browse files
committed
Auto merge of #6593 - k-nasa:refactor_clippy, r=dwijnand
into_iter() call is equivalent to .iter() and will not move the slice
2 parents 56cbbec + 8284e0e commit eb96a36

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cargo/util/workspace.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ fn get_available_targets<'a>(
1616
.flat_map(|pkg| {
1717
pkg.manifest()
1818
.targets()
19-
.into_iter()
19+
.iter()
2020
.filter(|target| filter_fn(target))
2121
})
2222
.collect();

0 commit comments

Comments
 (0)