diff --git a/crates/core_simd/src/vector.rs b/crates/core_simd/src/vector.rs index ef67fcfeee6..106f1965959 100644 --- a/crates/core_simd/src/vector.rs +++ b/crates/core_simd/src/vector.rs @@ -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) } }