We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Vec already has:
Vec
impl<'a, T> From<&'a [T]> for Vec<T> where T: Clone
but it should also have:
impl<'a, T> From<&'a mut [T]> for Vec<T> where T: Clone
A workaround is to use Vec::from(my_mut_ref as &[T]).
Vec::from(my_mut_ref as &[T])