Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 --- Fixes rust-lang#10167 changelog: [`reversed_empty_ranges`]: Update and clarify documentation
- Loading branch information