You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fnmain(){letmut it = 1..100;for _ in0..10{// or any other loopwhileletSome(x) = it.next(){// (false positive) this loop could be written as a `for` loop}}}
while_let_on_iterator lint should ignore a while let Some(x) = iterator_variable_external_to_loop within a loop, because iterators cannot be consumed there.
The text was updated successfully, but these errors were encountered:
while_let_on_iterator
lint should ignore awhile let Some(x) = iterator_variable_external_to_loop
within a loop, because iterators cannot be consumed there.The text was updated successfully, but these errors were encountered: