We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ba2a85d commit b3c7196Copy full SHA for b3c7196
tests/ui/range_plus_minus_one.rs
@@ -7,6 +7,7 @@ fn f() -> usize {
7
}
8
9
#[warn(clippy::range_plus_one)]
10
+#[warn(clippy::range_minus_one)]
11
fn main() {
12
for _ in 0..2 {}
13
for _ in 0..=2 {}
0 commit comments