From bca8dec404c18d9f4ef9fa1ec5f19766910d0c84 Mon Sep 17 00:00:00 2001 From: Caleb Zulawski Date: Sun, 22 May 2022 01:20:28 -0400 Subject: [PATCH] Remove incorrect comment --- crates/core_simd/src/masks/full_masks.rs | 6 ------ 1 file changed, 6 deletions(-) diff --git a/crates/core_simd/src/masks/full_masks.rs b/crates/core_simd/src/masks/full_masks.rs index 7ed844de6251..adf0fcbeae2b 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!( 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; as ToBitMaskArray>::BYTES] = @@ -186,9 +183,6 @@ where assert_eq!( 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") {