Skip to content

Commit bca8dec

Browse files
committed
Remove incorrect comment
1 parent 1cee930 commit bca8dec

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

crates/core_simd/src/masks/full_masks.rs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -153,9 +153,6 @@ where
153153
assert_eq!(<super::Mask<T, LANES> as ToBitMaskArray>::BYTES, N);
154154

155155
// Safety: N is the correct bitmask size
156-
//
157-
// The transmute below allows this function to be marked safe, since it will prevent
158-
// monomorphization errors in the case of an incorrect size.
159156
unsafe {
160157
// Compute the bitmask
161158
let bitmask: [u8; <super::Mask<T, LANES> as ToBitMaskArray>::BYTES] =
@@ -186,9 +183,6 @@ where
186183
assert_eq!(<super::Mask<T, LANES> as ToBitMaskArray>::BYTES, N);
187184

188185
// Safety: N is the correct bitmask size
189-
//
190-
// The transmute below allows this function to be marked safe, since it will prevent
191-
// monomorphization errors in the case of an incorrect size.
192186
unsafe {
193187
// LLVM assumes bit order should match endianness
194188
if cfg!(target_endian = "big") {

0 commit comments

Comments
 (0)