We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 764e01a commit b3938d5Copy full SHA for b3938d5
src/block.rs
@@ -197,7 +197,7 @@ impl<R: BlockRngCore<Item = u32>> RngCore for BlockRng<R> {
197
fn next_u64(&mut self) -> u64 {
198
let read_u64 = |results: &[u32], index| {
199
let data = &results[index..=index + 1];
200
- u64::from(data[1]) << 32 | u64::from(data[0])
+ (u64::from(data[1]) << 32) | u64::from(data[0])
201
};
202
203
let len = self.results.as_ref().len();
0 commit comments