diff --git a/crates/core_simd/src/elements/float.rs b/crates/core_simd/src/elements/float.rs index 456dd780dac..5a628f2121e 100644 --- a/crates/core_simd/src/elements/float.rs +++ b/crates/core_simd/src/elements/float.rs @@ -5,7 +5,7 @@ use crate::simd::{ }; /// Operations on SIMD vectors of floats. -pub trait SimdFloat: Sized + Sealed { +pub trait SimdFloat: Copy + Sealed { /// Mask type used for manipulating this SIMD vector type. type Mask; diff --git a/crates/core_simd/src/elements/int.rs b/crates/core_simd/src/elements/int.rs index c3139b4ba3e..787a0741146 100644 --- a/crates/core_simd/src/elements/int.rs +++ b/crates/core_simd/src/elements/int.rs @@ -4,7 +4,7 @@ use crate::simd::{ }; /// Operations on SIMD vectors of signed integers. -pub trait SimdInt: Sized + Sealed { +pub trait SimdInt: Copy + Sealed { /// Mask type used for manipulating this SIMD vector type. type Mask; diff --git a/crates/core_simd/src/elements/uint.rs b/crates/core_simd/src/elements/uint.rs index cba1a9b0ce0..f9d43a1d19b 100644 --- a/crates/core_simd/src/elements/uint.rs +++ b/crates/core_simd/src/elements/uint.rs @@ -2,7 +2,7 @@ use super::sealed::Sealed; use crate::simd::{intrinsics, LaneCount, Simd, SupportedLaneCount}; /// Operations on SIMD vectors of unsigned integers. -pub trait SimdUint: Sized + Sealed { +pub trait SimdUint: Copy + Sealed { /// Scalar type contained by this SIMD vector type. type Scalar;