mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-30 13:51:31 +00:00
Fix clippy::into_iter_on_ref
This commit is contained in:
parent
619a615298
commit
fb592d76aa
3 changed files with 3 additions and 3 deletions
|
@ -205,7 +205,7 @@ mod tests {
|
|||
"The amount of fold kinds is different than the expected amount"
|
||||
);
|
||||
for ((fold, range), fold_kind) in
|
||||
folds.into_iter().zip(ranges.into_iter()).zip(fold_kinds.into_iter())
|
||||
folds.iter().zip(ranges.into_iter()).zip(fold_kinds.iter())
|
||||
{
|
||||
assert_eq!(fold.range.start(), range.start());
|
||||
assert_eq!(fold.range.end(), range.end());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue