Rust Compile or Crash
Predict whether real code runs or fails, then learn why.
Rust · Card 1 of 8 · Streak 0 · Best 0
Intermediate
let s1 = String::from("hello");
let s2 = s1;
println!("{}", s1);Predict whether real code runs or fails, then learn why.
let s1 = String::from("hello");
let s2 = s1;
println!("{}", s1);