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