Merge pull request #75 from rust-lang/no-scalar-from

Remove From<Scalar> for SimdTy impl
This commit is contained in:
Caleb Zulawski 2021-02-16 19:18:52 -05:00 committed by GitHub
commit e3b729caad
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -147,14 +147,6 @@ macro_rules! impl_vector {
}
}
// splat
impl<const LANES: usize> From<$type> for $name<LANES> where Self: crate::LanesAtMost64 {
#[inline]
fn from(value: $type) -> Self {
Self::splat(value)
}
}
impl_shuffle_2pow_lanes!{ $name }
}
}