refactor - remove Sized as it is implicit
This commit is contained in:
committed by
Amanieu d'Antras
parent
ebd0c622cd
commit
a1be13aeeb
@@ -12,12 +12,12 @@ use crate::{core_arch::simd::*, hint::unreachable_unchecked, intrinsics::simd::*
|
|||||||
use stdarch_test::assert_instr;
|
use stdarch_test::assert_instr;
|
||||||
|
|
||||||
pub(crate) trait AsUnsigned {
|
pub(crate) trait AsUnsigned {
|
||||||
type Unsigned: Sized;
|
type Unsigned;
|
||||||
fn as_unsigned(self) -> Self::Unsigned;
|
fn as_unsigned(self) -> Self::Unsigned;
|
||||||
}
|
}
|
||||||
|
|
||||||
pub(crate) trait AsSigned {
|
pub(crate) trait AsSigned {
|
||||||
type Signed: Sized;
|
type Signed;
|
||||||
fn as_signed(self) -> Self::Signed;
|
fn as_signed(self) -> Self::Signed;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user