← Back to archive

Stdle #38 · modern · 2026-07-14

What does this Rust snippet output?

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

fn main() {
let s = "ab";
println!("{:.<6}", s);
}
Modern
4 attempts left

Answer & explanation