Do not construct Simd

This commit is contained in:
Jubilee Young 2023-04-22 18:22:04 -07:00
parent 4064678daf
commit 2b32732d0f

View File

@ -830,7 +830,7 @@ fn as_mut(&mut self) -> &mut [T] {
T: SimdElement,
{
fn from(array: [T; N]) -> Self {
Self(array)
Self::from_array(array)
}
}