← Back to archive

Stdle #46 · modern · 2026-07-22

What does this Rust snippet output?

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

fn main() {
let s = "hi";
println!("[{:^5}]", s);
}
Modern
4 attempts left

Answer & explanation