86dccc4ca7
a description starts with the filename, has an optional description and ends with help information
17 lines
279 B
Rust
17 lines
279 B
Rust
// clippy2.rs
|
|
//
|
|
// Make me compile!
|
|
//
|
|
// If you need help, open the corresponding README.md or run: rustlings hint clippy2
|
|
|
|
// I AM NOT DONE
|
|
|
|
fn main() {
|
|
let mut res = 42;
|
|
let option = Some(12);
|
|
for x in option {
|
|
res += x;
|
|
}
|
|
println!("{}", res);
|
|
}
|