Skip to content

Commit 509a855

Browse files
committed
fix: Clippy
1 parent ab4cea1 commit 509a855

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/value.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ impl UIntValue {
155155
let mut byte = 0u8;
156156
for _ in 0..8 {
157157
let bit = padded_bits.next().unwrap();
158-
byte = byte << 1 | if bit == '1' { 1 } else { 0 };
158+
byte = (byte << 1) | if bit == '1' { 1 } else { 0 };
159159
}
160160
bytes.push(byte);
161161
}

0 commit comments

Comments
 (0)