Practice
Learn
← Quit
0 / 0 correct
Rust
Easy
1 of 40
What happens when you compile this?
let s = String::from("hi"); let t = s; println!("{}", s);
A
Prints hi
B
Runtime panic
C
Compile error: borrow of moved value `s`
D
Prints an empty string