mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-24 21:53:23 +00:00
14 lines
274 B
Rust
14 lines
274 B
Rust
// run-rustfix
|
|
// edition:2018
|
|
|
|
#![warn(clippy::needless_parens_on_range_literals)]
|
|
#![allow(clippy::almost_complete_letter_range)]
|
|
|
|
fn main() {
|
|
let _ = 'a'..='z';
|
|
let _ = 'a'..'z';
|
|
let _ = (1.)..2.;
|
|
let _ = (1.)..2.;
|
|
let _ = 'a'..;
|
|
let _ = ..'z';
|
|
}
|