about summary refs log tree commit diff
diff options
context:
space:
mode:
authorIgor Matuszewski <Xanewok@gmail.com>2019-06-26 14:14:27 +0200
committerIgor Matuszewski <Xanewok@gmail.com>2019-06-26 14:14:27 +0200
commitad62b4203ce3f0bd4c7c348aeabca4f49d5ce075 (patch)
tree1b2fb98459f4506e9cc8972e1f8861d94138003e
parent1af1f6277e78cb3e1d9c3aafc1e5a65c58916023 (diff)
downloadrust-ad62b4203ce3f0bd4c7c348aeabca4f49d5ce075.tar.gz
rust-ad62b4203ce3f0bd4c7c348aeabca4f49d5ce075.zip
Fix clippy::precedence
-rw-r--r--src/librustc_data_structures/sip128.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc_data_structures/sip128.rs b/src/librustc_data_structures/sip128.rs
index 7838a900890..e5de359e475 100644
--- a/src/librustc_data_structures/sip128.rs
+++ b/src/librustc_data_structures/sip128.rs
@@ -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