Practice
Learn
← Quit
0 / 0 correct
Rust
Hard
1 of 20
How do you get two mutable references into different halves of one slice?
A
Clone the slice
B
Use two RefCells
C
&mut v[..mid] and &mut v[mid..] in two statements
D
slice.split_at_mut(mid)