← Back to archive

Stdle #17 · numbers · 2026-06-23

What does this Rust snippet output?

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

fn main() {
let x: i8 = -128;
println!("{}", x.wrapping_sub(1));
}
Numbers
4 attempts left

Answer & explanation