@@ -137,7 +137,7 @@ where
137
137
T : MaskElement ,
138
138
LaneCount < N > : SupportedLaneCount ,
139
139
{
140
- /// Construct a mask by setting all elements to the given value.
140
+ /// Constructs a mask by setting all elements to the given value.
141
141
#[ inline]
142
142
pub fn splat ( value : bool ) -> Self {
143
143
Self ( mask_impl:: Mask :: splat ( value) )
@@ -288,7 +288,7 @@ where
288
288
self . 0 . all ( )
289
289
}
290
290
291
- /// Create a bitmask from a mask.
291
+ /// Creates a bitmask from a mask.
292
292
///
293
293
/// Each bit is set if the corresponding element in the mask is `true`.
294
294
/// If the mask contains more than 64 elements, the bitmask is truncated to the first 64.
@@ -298,7 +298,7 @@ where
298
298
self . 0 . to_bitmask_integer ( )
299
299
}
300
300
301
- /// Create a mask from a bitmask.
301
+ /// Creates a mask from a bitmask.
302
302
///
303
303
/// For each bit, if it is set, the corresponding element in the mask is set to `true`.
304
304
/// If the mask contains more than 64 elements, the remainder are set to `false`.
@@ -308,7 +308,7 @@ where
308
308
Self ( mask_impl:: Mask :: from_bitmask_integer ( bitmask) )
309
309
}
310
310
311
- /// Create a bitmask vector from a mask.
311
+ /// Creates a bitmask vector from a mask.
312
312
///
313
313
/// Each bit is set if the corresponding element in the mask is `true`.
314
314
/// The remaining bits are unset.
@@ -328,7 +328,7 @@ where
328
328
self . 0 . to_bitmask_vector ( )
329
329
}
330
330
331
- /// Create a mask from a bitmask vector.
331
+ /// Creates a mask from a bitmask vector.
332
332
///
333
333
/// For each bit, if it is set, the corresponding element in the mask is set to `true`.
334
334
///
@@ -350,7 +350,7 @@ where
350
350
Self ( mask_impl:: Mask :: from_bitmask_vector ( bitmask) )
351
351
}
352
352
353
- /// Find the index of the first set element.
353
+ /// Finds the index of the first set element.
354
354
///
355
355
/// ```
356
356
/// # #![feature(portable_simd)]
0 commit comments