clippy complaints

This commit is contained in:
Folkert 2020-10-17 22:37:15 +02:00
parent 15600a8f2b
commit 1439c1a21d
6 changed files with 8 additions and 10 deletions

View file

@ -120,7 +120,7 @@ impl SolvedType {
let solved_closure = Self::from_type(solved_subs, box_closure);
let mut solved_args = Vec::with_capacity(args.len());
for arg in args.into_iter() {
for arg in args {
let solved_arg = Self::from_type(solved_subs, arg);
solved_args.push(solved_arg);