Skip to main content
Journey Uncommon Logo
JourneyUncommon
easyRustownership and moveSingle-choice MCQ

What happens when this code is compiled?

fn main() { let s1 = String::from("hello"); let s2 = s1; println!("{}", s1); }