Clean up calls to into_iter per into_iter_on_ref lint

This commit is contained in:
David Tolnay committed 2018-11-10 20:10:37 -08:00
1 parent 820107d15e
commit 451ee2d78e
2 files changed
+7 -7

No files matched your search

+1 -1
View File
@@ -45,7 +45,7 @@ pub fn with_where_predicates(
generics
.make_where_clause()
.predicates
.extend(predicates.into_iter().cloned());
.extend(predicates.iter().cloned());
generics
}