Auto merge of #6593 - k-nasa:refactor_clippy, r=dwijnand

into_iter() call is equivalent to .iter() and will not move the slice
This commit is contained in:
bors 2019-01-23 14:47:20 +00:00
commit eb96a36fe0

View File

@ -16,7 +16,7 @@ fn get_available_targets<'a>(
.flat_map(|pkg| {
pkg.manifest()
.targets()
.into_iter()
.iter()
.filter(|target| filter_fn(target))
})
.collect();