File tree Expand file tree Collapse file tree 1 file changed +0
-6
lines changed
crates/core_simd/src/masks Expand file tree Collapse file tree 1 file changed +0
-6
lines changed Original file line number Diff line number Diff line change @@ -153,9 +153,6 @@ where
153
153
assert_eq ! ( <super :: Mask <T , LANES > as ToBitMaskArray >:: BYTES , N ) ;
154
154
155
155
// 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.
159
156
unsafe {
160
157
// Compute the bitmask
161
158
let bitmask: [ u8 ; <super :: Mask < T , LANES > as ToBitMaskArray >:: BYTES ] =
@@ -186,9 +183,6 @@ where
186
183
assert_eq ! ( <super :: Mask <T , LANES > as ToBitMaskArray >:: BYTES , N ) ;
187
184
188
185
// 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.
192
186
unsafe {
193
187
// LLVM assumes bit order should match endianness
194
188
if cfg ! ( target_endian = "big" ) {
You can’t perform that action at this time.
0 commit comments