@@ -137,7 +137,7 @@ where
137137 T : MaskElement ,
138138 LaneCount < N > : SupportedLaneCount ,
139139{
140- /// Construct a mask by setting all elements to the given value.
140+ /// Constructs a mask by setting all elements to the given value.
141141 #[ inline]
142142 pub fn splat ( value : bool ) -> Self {
143143 Self ( mask_impl:: Mask :: splat ( value) )
@@ -288,7 +288,7 @@ where
288288 self . 0 . all ( )
289289 }
290290
291- /// Create a bitmask from a mask.
291+ /// Creates a bitmask from a mask.
292292 ///
293293 /// Each bit is set if the corresponding element in the mask is `true`.
294294 /// If the mask contains more than 64 elements, the bitmask is truncated to the first 64.
@@ -298,7 +298,7 @@ where
298298 self . 0 . to_bitmask_integer ( )
299299 }
300300
301- /// Create a mask from a bitmask.
301+ /// Creates a mask from a bitmask.
302302 ///
303303 /// For each bit, if it is set, the corresponding element in the mask is set to `true`.
304304 /// If the mask contains more than 64 elements, the remainder are set to `false`.
@@ -308,7 +308,7 @@ where
308308 Self ( mask_impl:: Mask :: from_bitmask_integer ( bitmask) )
309309 }
310310
311- /// Create a bitmask vector from a mask.
311+ /// Creates a bitmask vector from a mask.
312312 ///
313313 /// Each bit is set if the corresponding element in the mask is `true`.
314314 /// The remaining bits are unset.
@@ -328,7 +328,7 @@ where
328328 self . 0 . to_bitmask_vector ( )
329329 }
330330
331- /// Create a mask from a bitmask vector.
331+ /// Creates a mask from a bitmask vector.
332332 ///
333333 /// For each bit, if it is set, the corresponding element in the mask is set to `true`.
334334 ///
@@ -350,7 +350,7 @@ where
350350 Self ( mask_impl:: Mask :: from_bitmask_vector ( bitmask) )
351351 }
352352
353- /// Find the index of the first set element.
353+ /// Finds the index of the first set element.
354354 ///
355355 /// ```
356356 /// # #![feature(portable_simd)]
0 commit comments