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
Auto merge of rust-lang#10168 - blyxyas:fix_reversed_empty_ranges, r=dswij
[rust-lang#10167] Clarify that the lint only works if x eq. y in a `for` loop.
Reading the documentation for the lint, one could expect that the lint works in all cases that `X == Y`. This is false.
While the lint was updated, the documentation wasn't.
More information about the `N..N` problem in rust-lang#5689 and rust-lang#5628
---
Fixesrust-lang#10167
changelog: [`reversed_empty_ranges`]: Update and clarify documentation
0 commit comments