Skip to content

Commit 21b070c

Browse files
committed
Correct the Mask docs, and get them to fit in search results
1 parent c73f1fb commit 21b070c

File tree

1 file changed

+18
-18
lines changed

1 file changed

+18
-18
lines changed

crates/core_simd/src/masks.rs

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -507,58 +507,58 @@ where
507507
}
508508
}
509509

510-
/// A SIMD vector mask of eight elements, for operating with SIMD vectors with 8 bit elements.
510+
/// A mask for SIMD vectors with eight elements of 8 bits.
511511
pub type mask8x8 = Mask<i8, 8>;
512512

513-
/// A 128-bit SIMD vector mask for 16 elements of 8 bits.
513+
/// A mask for SIMD vectors with 16 elements of 8 bits.
514514
pub type mask8x16 = Mask<i8, 16>;
515515

516-
/// A 256-bit SIMD vector mask for 32 elements of 8 bits.
516+
/// A mask for SIMD vectors with 32 elements of 8 bits.
517517
pub type mask8x32 = Mask<i8, 32>;
518518

519-
/// A 512-bit SIMD vector mask for 64 elements of 8 bits.
519+
/// A mask for SIMD vectors with 64 elements of 8 bits.
520520
pub type mask8x64 = Mask<i8, 64>;
521521

522-
/// A 64-bit SIMD vector mask for four elements of 16 bits.
522+
/// A mask for SIMD vectors with four elements of 16 bits.
523523
pub type mask16x4 = Mask<i16, 4>;
524524

525-
/// A 128-bit SIMD vector mask for eight elements of 16 bits.
525+
/// A mask for SIMD vectors with eight elements of 16 bits.
526526
pub type mask16x8 = Mask<i16, 8>;
527527

528-
/// A 256-bit SIMD vector mask for 16 elements of 16 bits.
528+
/// A mask for SIMD vectors with 16 elements of 16 bits.
529529
pub type mask16x16 = Mask<i16, 16>;
530530

531-
/// A 512-bit SIMD vector mask for 32 elements of 16 bits.
531+
/// A mask for SIMD vectors with 32 elements of 16 bits.
532532
pub type mask16x32 = Mask<i16, 32>;
533533

534-
/// A 64-bit SIMD vector mask for two elements of 32 bits.
534+
/// A mask for SIMD vectors with two elements of 32 bits.
535535
pub type mask32x2 = Mask<i32, 2>;
536536

537-
/// A 128-bit SIMD vector mask for four elements of 32 bits.
537+
/// A mask for SIMD vectors with four elements of 32 bits.
538538
pub type mask32x4 = Mask<i32, 4>;
539539

540-
/// A 256-bit SIMD vector mask for eight elements of 32 bits.
540+
/// A mask for SIMD vectors with eight elements of 32 bits.
541541
pub type mask32x8 = Mask<i32, 8>;
542542

543-
/// A 512-bit SIMD vector mask for 16 elements of 32 bits.
543+
/// A mask for SIMD vectors with 16 elements of 32 bits.
544544
pub type mask32x16 = Mask<i32, 16>;
545545

546-
/// A 128-bit SIMD vector mask for two elements of 64 bits.
546+
/// A mask for SIMD vectors with two elements of 64 bits.
547547
pub type mask64x2 = Mask<i64, 2>;
548548

549-
/// A 256-bit SIMD vector mask for four elements of 64 bits.
549+
/// A mask for SIMD vectors with four elements of 64 bits.
550550
pub type mask64x4 = Mask<i64, 4>;
551551

552-
/// A 512-bit SIMD vector mask for eight elements of 64 bits.
552+
/// A mask for SIMD vectors with eight elements of 64 bits.
553553
pub type mask64x8 = Mask<i64, 8>;
554554

555-
/// A SIMD vector mask for two elements of pointer width.
555+
/// A mask for SIMD vectors with two elements of pointer width.
556556
pub type masksizex2 = Mask<isize, 2>;
557557

558-
/// A SIMD vector mask for four elements of pointer width.
558+
/// A mask for SIMD vectors with four elements of pointer width.
559559
pub type masksizex4 = Mask<isize, 4>;
560560

561-
/// A SIMD vector mask for eight elements of pointer width.
561+
/// A mask for SIMD vectors with eight elements of pointer width.
562562
pub type masksizex8 = Mask<isize, 8>;
563563

564564
macro_rules! impl_from {

0 commit comments

Comments
 (0)