Clean up calls to into_iter per into_iter_on_ref lint

This commit is contained in:
David Tolnay
2018-11-10 20:10:37 -08:00
parent 820107d15e
commit 451ee2d78e
2 changed files with 7 additions and 7 deletions
+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
}