Stdle #110 · comparisons · 2026-09-24
What does this Rust snippet output?
A past puzzle — fully playable. 4 attempts, hints on wrong guesses.
fn main() { let n = 7; let s = match n { 0 => "zero", 1 | 2 | 3 => "small", _ => "big", }; println!("{}", s);}Comparisons