This repository was archived by the owner on May 28, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -146,20 +146,20 @@ pub trait Swizzle<const N: usize> {
146146 }
147147 }
148148
149- /// Create a new mask from the elements of `first` and `second `.
149+ /// Create a new mask from the elements of `mask `.
150150 ///
151151 /// Element `i` of the output is `concat[Self::INDEX[i]]`, where `concat` is the concatenation of
152152 /// `first` and `second`.
153153 #[ inline]
154154 #[ must_use = "method returns a new mask and does not mutate the original inputs" ]
155- fn swizzle_mask < T , const M : usize > ( vector : Mask < T , M > ) -> Mask < T , N >
155+ fn swizzle_mask < T , const M : usize > ( mask : Mask < T , M > ) -> Mask < T , N >
156156 where
157157 T : MaskElement ,
158158 LaneCount < N > : SupportedLaneCount ,
159159 LaneCount < M > : SupportedLaneCount ,
160160 {
161161 // SAFETY: all elements of this mask come from another mask
162- unsafe { Mask :: from_int_unchecked ( Self :: swizzle ( vector . to_int ( ) ) ) }
162+ unsafe { Mask :: from_int_unchecked ( Self :: swizzle ( mask . to_int ( ) ) ) }
163163 }
164164
165165 /// Create a new mask from the elements of `first` and `second`.
You can’t perform that action at this time.
0 commit comments