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