Skip to content

Commit b3938d5

Browse files
committed
fixup clippy 1.85 warnings
Rust 1.85 released today and brings new lints: https://rust-lang.github.io/rust-clippy/master/index.html#precedence
1 parent 764e01a commit b3938d5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/block.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ impl<R: BlockRngCore<Item = u32>> RngCore for BlockRng<R> {
197197
fn next_u64(&mut self) -> u64 {
198198
let read_u64 = |results: &[u32], index| {
199199
let data = &results[index..=index + 1];
200-
u64::from(data[1]) << 32 | u64::from(data[0])
200+
(u64::from(data[1]) << 32) | u64::from(data[0])
201201
};
202202

203203
let len = self.results.as_ref().len();

0 commit comments

Comments
 (0)