Skip to content

Commit 4f7b025

Browse files
committed
Fix formatting
1 parent 32b195a commit 4f7b025

File tree

3 files changed

+3
-11
lines changed

3 files changed

+3
-11
lines changed

crates/core_simd/src/select.rs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,7 @@ where
2323
/// ```
2424
#[inline]
2525
#[must_use = "method returns a new vector and does not mutate the original inputs"]
26-
pub fn select<U>(
27-
self,
28-
true_values: Simd<U, N>,
29-
false_values: Simd<U, N>,
30-
) -> Simd<U, N>
26+
pub fn select<U>(self, true_values: Simd<U, N>, false_values: Simd<U, N>) -> Simd<U, N>
3127
where
3228
U: SimdElement<Mask = T>,
3329
{

crates/core_simd/src/simd/ptr/const_ptr.rs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -77,10 +77,7 @@ pub trait SimdConstPtr: Copy + Sealed {
7777
fn wrapping_sub(self, count: Self::Usize) -> Self;
7878
}
7979

80-
impl<T, const N: usize> Sealed for Simd<*const T, N> where
81-
LaneCount<N>: SupportedLaneCount
82-
{
83-
}
80+
impl<T, const N: usize> Sealed for Simd<*const T, N> where LaneCount<N>: SupportedLaneCount {}
8481

8582
impl<T, const N: usize> SimdConstPtr for Simd<*const T, N>
8683
where

crates/core_simd/src/simd/ptr/mut_ptr.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,7 @@ pub trait SimdMutPtr: Copy + Sealed {
7474
fn wrapping_sub(self, count: Self::Usize) -> Self;
7575
}
7676

77-
impl<T, const N: usize> Sealed for Simd<*mut T, N> where LaneCount<N>: SupportedLaneCount
78-
{}
77+
impl<T, const N: usize> Sealed for Simd<*mut T, N> where LaneCount<N>: SupportedLaneCount {}
7978

8079
impl<T, const N: usize> SimdMutPtr for Simd<*mut T, N>
8180
where

0 commit comments

Comments
 (0)