Stdle #37 · comparisons · 2026-07-13
What does this Rust snippet output?
A past puzzle — fully playable. 4 attempts, hints on wrong guesses.
fn main() { let n = 2; let s = match n { 1 => "one", 2 => "two", 2 => "TWO", _ => "other", }; println!("{}", s);}Comparisons