← Back to archive

Stdle #175 · comparisons · 2026-11-28

What does this Rust snippet output?

A past puzzle — fully playable. 4 attempts, hints on wrong guesses.

fn main() {
let t = (1, 2, 3);
let (a, _, c) = t;
println!("{}", a + c);
}
Comparisons
4 attempts left

Answer & explanation