Fix formatting
This commit is contained in:
parent
32b195ab2b
commit
4f7b0252e0
3 changed files with 3 additions and 11 deletions
|
|
@ -23,11 +23,7 @@ where
|
|||
/// ```
|
||||
#[inline]
|
||||
#[must_use = "method returns a new vector and does not mutate the original inputs"]
|
||||
pub fn select<U>(
|
||||
self,
|
||||
true_values: Simd<U, N>,
|
||||
false_values: Simd<U, N>,
|
||||
) -> Simd<U, N>
|
||||
pub fn select<U>(self, true_values: Simd<U, N>, false_values: Simd<U, N>) -> Simd<U, N>
|
||||
where
|
||||
U: SimdElement<Mask = T>,
|
||||
{
|
||||
|
|
|
|||
|
|
@ -77,10 +77,7 @@ pub trait SimdConstPtr: Copy + Sealed {
|
|||
fn wrapping_sub(self, count: Self::Usize) -> Self;
|
||||
}
|
||||
|
||||
impl<T, const N: usize> Sealed for Simd<*const T, N> where
|
||||
LaneCount<N>: SupportedLaneCount
|
||||
{
|
||||
}
|
||||
impl<T, const N: usize> Sealed for Simd<*const T, N> where LaneCount<N>: SupportedLaneCount {}
|
||||
|
||||
impl<T, const N: usize> SimdConstPtr for Simd<*const T, N>
|
||||
where
|
||||
|
|
|
|||
|
|
@ -74,8 +74,7 @@ pub trait SimdMutPtr: Copy + Sealed {
|
|||
fn wrapping_sub(self, count: Self::Usize) -> Self;
|
||||
}
|
||||
|
||||
impl<T, const N: usize> Sealed for Simd<*mut T, N> where LaneCount<N>: SupportedLaneCount
|
||||
{}
|
||||
impl<T, const N: usize> Sealed for Simd<*mut T, N> where LaneCount<N>: SupportedLaneCount {}
|
||||
|
||||
impl<T, const N: usize> SimdMutPtr for Simd<*mut T, N>
|
||||
where
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue