File tree Expand file tree Collapse file tree 2 files changed +1
-5
lines changed Expand file tree Collapse file tree 2 files changed +1
-5
lines changed Original file line number Diff line number Diff line change 5
5
const_maybe_uninit_as_mut_ptr,
6
6
const_mut_refs,
7
7
convert_float_to_int,
8
- core_intrinsics,
9
8
decl_macro,
10
9
inline_const,
11
10
intra_doc_pointers,
Original file line number Diff line number Diff line change @@ -174,10 +174,7 @@ where
174
174
#[ must_use = "method returns a new mask and does not mutate the original value" ]
175
175
pub unsafe fn from_int_unchecked ( value : Simd < T , N > ) -> Self {
176
176
// Safety: the caller must confirm this invariant
177
- unsafe {
178
- core:: intrinsics:: assume ( <T as Sealed >:: valid ( value) ) ;
179
- Self ( mask_impl:: Mask :: from_int_unchecked ( value) )
180
- }
177
+ unsafe { Self ( mask_impl:: Mask :: from_int_unchecked ( value) ) }
181
178
}
182
179
183
180
/// Converts a vector of integers to a mask, where 0 represents `false` and -1
You can’t perform that action at this time.
0 commit comments