← Back to archive

Stdle #92 · strings · 2026-09-06

What does this Rust snippet output?

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

fn main() {
let mut s = String::from("Hi");
s += " there";
println!("{}", s);
}
Strings
4 attempts left

Answer & explanation