2022-10-06 02:44:38 -05:00
|
|
|
#![allow(clippy::uninlined_format_args)]
|
|
|
|
|
2019-02-22 19:19:50 -06:00
|
|
|
fn main() {}
|
2022-08-11 12:42:16 -05:00
|
|
|
|
|
|
|
#[warn(clippy::cognitive_complexity)]
|
|
|
|
fn cognitive_complexity() {
|
|
|
|
let x = vec![1, 2, 3];
|
|
|
|
for i in x {
|
|
|
|
if i == 1 {
|
|
|
|
println!("{}", i);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|