Function ref_slice::ref_slice_mut [] [src]

pub fn ref_slice_mut<A>(s: &mut A) -> &mut [A]

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