Use Mask::cast in From impl
This commit is contained in:
parent
aa11959f19
commit
c9f4e0ef98
1 changed files with 1 additions and 1 deletions
|
|
@ -578,7 +578,7 @@ macro_rules! impl_from {
|
|||
LaneCount<LANES>: SupportedLaneCount,
|
||||
{
|
||||
fn from(value: Mask<$from, LANES>) -> Self {
|
||||
Self(value.0.convert())
|
||||
value.cast()
|
||||
}
|
||||
}
|
||||
)*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue