Use array IntoIter

This commit is contained in:
Laurențiu Nicola 2021-10-22 09:23:29 +03:00
parent 56fbf5d7b2
commit ca44b6892e
13 changed files with 33 additions and 32 deletions

View file

@ -2392,7 +2392,7 @@ impl Type {
}
.cast(&Interner),
),
[TyVariableKind::General].iter().copied(),
[TyVariableKind::General].into_iter(),
);
match db.trait_solve(self.krate, goal)? {