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
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" ) {
You can’t perform that action at this time.
0 commit comments