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