← Quit0 / 0 correct
RustMedium1 of 77

What is the compile error here, and the idiomatic fix?

let v = vec![String::from("a")];
let s = v[0];