Skip to content

Commit ad62b42

Browse files
committed
Fix clippy::precedence
1 parent 1af1f62 commit ad62b42

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc_data_structures/sip128.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ impl Hasher for SipHasher128 {
237237

238238
if self.ntail != 0 {
239239
needed = 8 - self.ntail;
240-
self.tail |= unsafe { u8to64_le(msg, 0, cmp::min(length, needed)) } << 8 * self.ntail;
240+
self.tail |= unsafe { u8to64_le(msg, 0, cmp::min(length, needed)) } << (8 * self.ntail);
241241
if length < needed {
242242
self.ntail += length;
243243
return

0 commit comments

Comments
 (0)