about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJubilee Young <workingjubilee@gmail.com>2023-04-22 18:22:04 -0700
committerJubilee Young <workingjubilee@gmail.com>2023-04-22 18:22:04 -0700
commit2b32732d0f64a27560c9c4ca15e89bc454c482da (patch)
treead858ac22ed2deab8a9da415ade1f355fe7e1720
parent4064678dafd3907253353a1efc01bc0ada78c1bc (diff)
Do not construct Simd
-rw-r--r--crates/core_simd/src/vector.rs2
1 files changed, 1 insertions, 1 deletions
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 @@ where
     T: SimdElement,
 {
     fn from(array: [T; N]) -> Self {
-        Self(array)
+        Self::from_array(array)
     }
 }