feat: completed solutions
This commit is contained in:
@@ -1,8 +1,9 @@
|
||||
fn main() {
|
||||
let mut res = 42;
|
||||
let option = Some(12);
|
||||
|
||||
// TODO: Fix the Clippy lint.
|
||||
for x in option {
|
||||
if let Some(x) = option {
|
||||
res += x;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user