pub fn ref_slice_mut<A>(s: &mut A) -> &mut [A]
👎Deprecated: Similar method was added to std and stabilized in rust 1.28.0. Use
core::slice::from_mut
instead.Expand description
Converts a reference to A
into a slice of length 1 (without copying).