From 2f2a463c0ddd4f22e29c3ad7e4a8ed8f1090e7a8 Mon Sep 17 00:00:00 2001 From: Jubilee Young Date: Tue, 16 Feb 2021 10:02:02 -0800 Subject: [PATCH] Remove From for SimdTy impl 0. It was not being tested. 1. The possible conversions are ambiguous between splatting and setting a single value but zero-initializing the rest. 2. Splat works fine. --- crates/core_simd/src/macros.rs | 8 -------- 1 file changed, 8 deletions(-) diff --git a/crates/core_simd/src/macros.rs b/crates/core_simd/src/macros.rs index db90c4e3149..d78403ddb93 100644 --- a/crates/core_simd/src/macros.rs +++ b/crates/core_simd/src/macros.rs @@ -147,14 +147,6 @@ macro_rules! impl_vector { } } - // splat - impl From<$type> for $name where Self: crate::LanesAtMost64 { - #[inline] - fn from(value: $type) -> Self { - Self::splat(value) - } - } - impl_shuffle_2pow_lanes!{ $name } } }