diff options
| author | Caleb Zulawski <caleb.zulawski@gmail.com> | 2022-05-22 01:20:28 -0400 |
|---|---|---|
| committer | Caleb Zulawski <caleb.zulawski@gmail.com> | 2022-05-22 01:20:28 -0400 |
| commit | bca8dec404c18d9f4ef9fa1ec5f19766910d0c84 (patch) | |
| tree | a146726e9012532a8fe2b7ce1406eef0b0f266e7 | |
| parent | 1cee9304b3678523ad3e234d9d72fcd1d73fff99 (diff) | |
| download | rust-bca8dec404c18d9f4ef9fa1ec5f19766910d0c84.tar.gz rust-bca8dec404c18d9f4ef9fa1ec5f19766910d0c84.zip | |
Remove incorrect comment
| -rw-r--r-- | crates/core_simd/src/masks/full_masks.rs | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/crates/core_simd/src/masks/full_masks.rs b/crates/core_simd/src/masks/full_masks.rs index 7ed844de625..adf0fcbeae2 100644 --- a/crates/core_simd/src/masks/full_masks.rs +++ b/crates/core_simd/src/masks/full_masks.rs @@ -153,9 +153,6 @@ where assert_eq!(<super::Mask<T, LANES> as ToBitMaskArray>::BYTES, N); // Safety: N is the correct bitmask size - // - // The transmute below allows this function to be marked safe, since it will prevent - // monomorphization errors in the case of an incorrect size. unsafe { // Compute the bitmask let bitmask: [u8; <super::Mask<T, LANES> as ToBitMaskArray>::BYTES] = @@ -186,9 +183,6 @@ where assert_eq!(<super::Mask<T, LANES> as ToBitMaskArray>::BYTES, N); // Safety: N is the correct bitmask size - // - // The transmute below allows this function to be marked safe, since it will prevent - // monomorphization errors in the case of an incorrect size. unsafe { // LLVM assumes bit order should match endianness if cfg!(target_endian = "big") { |
