Stdle #77 · scope · 2026-08-22
What does this Rust snippet output?
A past puzzle — fully playable. 4 attempts, hints on wrong guesses.
fn main() { let val = Some(7); let val = match val { Some(n) => n * 2, None => 0, }; println!("{}", val);}Scope