Practice
Learn
← Quit
0 / 0 correct
Rust
Medium
1 of 20
What's the difference between v.get(i) and v[i]?
A
Indexing returns Option
B
get returns a copy
C
They're identical
D
get returns Option<&T> (None if out of bounds); indexing panics when out of bounds