Revert "Merge pull request #385 from workingjubilee/make-an-ass-out-of-u-and-me"
This reverts commit6ad779c3f6, reversing changes made tob2e1bcba2c.
This commit is contained in:
parent
a2dd4a3b5b
commit
644bdfb2ac
2 changed files with 1 additions and 5 deletions
|
|
@ -5,7 +5,6 @@
|
|||
const_maybe_uninit_as_mut_ptr,
|
||||
const_mut_refs,
|
||||
convert_float_to_int,
|
||||
core_intrinsics,
|
||||
decl_macro,
|
||||
inline_const,
|
||||
intra_doc_pointers,
|
||||
|
|
|
|||
|
|
@ -174,10 +174,7 @@ where
|
|||
#[must_use = "method returns a new mask and does not mutate the original value"]
|
||||
pub unsafe fn from_int_unchecked(value: Simd<T, N>) -> Self {
|
||||
// Safety: the caller must confirm this invariant
|
||||
unsafe {
|
||||
core::intrinsics::assume(<T as Sealed>::valid(value));
|
||||
Self(mask_impl::Mask::from_int_unchecked(value))
|
||||
}
|
||||
unsafe { Self(mask_impl::Mask::from_int_unchecked(value)) }
|
||||
}
|
||||
|
||||
/// Converts a vector of integers to a mask, where 0 represents `false` and -1
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue