// clippy2.rs
// Make me compile! Execute `rustlings hint clippy2` for hints :)



fn main() {
    let mut res = 42;
    let option = Some(12);
    // for x in option {
    //     res += x;
    // }
    if let Some(num) = option {
        res += num
    }
    println!("{}", res);
}
