Idea: warning on empty ranges #330
Labels
A-lint
Area: New lints
good-first-issue
These issues are a good way to get started with Clippy
T-AST
Type: Requires working with the AST
I have occasionally written
for x in 10..0
when I meant(0..10).rev()
. Would this make sense as a clippy warning?The text was updated successfully, but these errors were encountered: