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