Skip to content

Commit

Permalink
Fix clippy::precedence
Browse files Browse the repository at this point in the history
  • Loading branch information
Xanewok committed Jun 26, 2019
1 parent 1af1f62 commit ad62b42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/librustc_data_structures/sip128.rs
Expand Up @@ -237,7 +237,7 @@ impl Hasher for SipHasher128 {

if self.ntail != 0 {
needed = 8 - self.ntail;
self.tail |= unsafe { u8to64_le(msg, 0, cmp::min(length, needed)) } << 8 * self.ntail;
self.tail |= unsafe { u8to64_le(msg, 0, cmp::min(length, needed)) } << (8 * self.ntail);
if length < needed {
self.ntail += length;
return
Expand Down

0 comments on commit ad62b42

Please sign in to comment.