← Back to archive

Stdle #42 · numbers · 2026-07-18

What does this Rust snippet output?

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

fn main() {
let r = 0u8.checked_sub(1);
println!("{:?}", r);
}
Numbers
4 attempts left

Answer & explanation