Skip to content

Commit 0912ac8

Browse files
fix: fix clippy warning/error in lib_ccxr
1 parent 65a0348 commit 0912ac8

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/rust/lib_ccxr/src/util/bits.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -193,10 +193,10 @@ pub fn decode_hamming_24_18(mut value: u32) -> Option<u32> {
193193
}
194194

195195
Some(
196-
(value & 0x000004) >> 2
197-
| (value & 0x000070) >> 3
198-
| (value & 0x007f00) >> 4
199-
| (value & 0x7f0000) >> 5,
196+
((value & 0x000004) >> 2)
197+
| ((value & 0x000070) >> 3)
198+
| ((value & 0x007f00) >> 4)
199+
| ((value & 0x7f0000) >> 5),
200200
)
201201
}
202202

0 commit comments

Comments
 (0)