fix clippy

This commit is contained in:
Ralf Jung 2024-07-27 08:31:07 +02:00
parent 00e89d3cb6
commit 822286f075

View file

@ -1178,7 +1178,7 @@ fn pclmulqdq<'tcx>(
// if the i-th bit in right is set
if (right & (1 << i)) != 0 {
// xor result with `left` shifted to the left by i positions
result ^= (left as u128) << i;
result ^= u128::from(left) << i;
}
}