mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-23 21:23:56 +00:00
11 lines
174 B
Rust
11 lines
174 B
Rust
#![warn(clippy::reversed_empty_ranges)]
|
|
|
|
fn main() {
|
|
for i in 5..5 {
|
|
println!("{}", i);
|
|
}
|
|
|
|
for i in (5 + 2)..(8 - 1) {
|
|
println!("{}", i);
|
|
}
|
|
}
|