Practice
Learn
← Quit
0 / 0 correct
Rust
Medium
1 of 332
What does Vec::drain(range) do?
A
Removes the range from the vector and returns an iterator over the removed elements
B
Copies the range
C
Sorts the range
D
Clears the capacity