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