Stdle #90 · ownership · 2026-09-04
What does this Rust snippet output?
A past puzzle — fully playable. 4 attempts, hints on wrong guesses.
fn make() -> String { let mut s = String::new(); s.push_str("ok"); s}fn main() { let r = make(); println!("{}", r);}Ownership