Stdle #49 · comparisons · 2026-07-25
What does this Rust snippet output?
A past puzzle — fully playable. 4 attempts, hints on wrong guesses.
fn main() { let n = 6; let s = match n { x if x % 3 == 0 && x % 2 == 0 => "six-ish", x if x % 3 == 0 => "by three", _ => "other", }; println!("{}", s);}Comparisons