Use Mask::cast in From impl

This commit is contained in:
Caleb Zulawski 2022-05-21 16:49:03 -04:00
parent aa11959f19
commit c9f4e0ef98

View File

@ -578,7 +578,7 @@ macro_rules! impl_from {
LaneCount<LANES>: SupportedLaneCount,
{
fn from(value: Mask<$from, LANES>) -> Self {
Self(value.0.convert())
value.cast()
}
}
)*