consistency

This commit is contained in:
Quaternions 2024-09-09 13:00:57 -07:00
parent d3c4d530b6
commit 62419e94e1

View File

@ -113,7 +113,7 @@ macro_rules! impl_additive_assign_operator {
BInt::<N>:From<U>,
{
fn $method(&mut self, other: U) {
self.bits.$method(BInt::<N>::from(other)<<F as u32);
self.bits.$method(BInt::<N>::from(other).shl(F as u32));
}
}
};