← Back to archive

Stdle #178 · strings · 2026-12-01

What does this Rust snippet output?

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

fn main() {
let s = String::from("a");
let r = s + "b" + "c";
println!("{}", r);
}
Strings
4 attempts left

Answer & explanation