Function core::slice::mut_ref_slice
[−]
[src]
pub fn mut_ref_slice<A>(s: &mut A) -> &mut [A]
Deprecated since 1.5.0
: unclear whether belongs in libstd
Converts a reference to A into a slice of length 1 (without copying).