Skip to content

Commit 822286f

Browse files
committed
fix clippy
1 parent 00e89d3 commit 822286f

File tree

1 file changed

+1
-1
lines changed
  • src/tools/miri/src/shims/x86

1 file changed

+1
-1
lines changed

src/tools/miri/src/shims/x86/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1178,7 +1178,7 @@ fn pclmulqdq<'tcx>(
11781178
// if the i-th bit in right is set
11791179
if (right & (1 << i)) != 0 {
11801180
// xor result with `left` shifted to the left by i positions
1181-
result ^= (left as u128) << i;
1181+
result ^= u128::from(left) << i;
11821182
}
11831183
}
11841184

0 commit comments

Comments
 (0)