mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-15 01:17:16 +00:00
12 lines
215 B
Rust
12 lines
215 B
Rust
#![warn(clippy::reversed_empty_ranges)]
|
|
#![allow(clippy::uninlined_format_args)]
|
|
|
|
fn main() {
|
|
for i in 5..5 {
|
|
println!("{}", i);
|
|
}
|
|
|
|
for i in (5 + 2)..(8 - 1) {
|
|
println!("{}", i);
|
|
}
|
|
}
|