Function std::slice::mut_ref_slice [−] [src]

pub fn mut_ref_slice<A>(s: &mut A) -> &mut [A]
Unstable (ref_slice #27774)

Converts a reference to A into a slice of length 1 (without copying).