Use Mask::cast in From impl
This commit is contained in:
parent
aa11959f19
commit
c9f4e0ef98
@ -578,7 +578,7 @@ macro_rules! impl_from {
|
|||||||
LaneCount<LANES>: SupportedLaneCount,
|
LaneCount<LANES>: SupportedLaneCount,
|
||||||
{
|
{
|
||||||
fn from(value: Mask<$from, LANES>) -> Self {
|
fn from(value: Mask<$from, LANES>) -> Self {
|
||||||
Self(value.0.convert())
|
value.cast()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
)*
|
)*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user