mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-28 07:30:57 +00:00
19 lines
206 B
Rust
19 lines
206 B
Rust
// run-rustfix
|
|
|
|
#![allow(unused, clippy::assign_op_pattern)]
|
|
|
|
fn main() {
|
|
|
|
let a = "zero";
|
|
|
|
|
|
|
|
let b = 1;
|
|
let c = 2;
|
|
|
|
|
|
let d: usize = 1;
|
|
|
|
|
|
let e = format!("{}", d);
|
|
}
|