Skip to content

Commit 33eedbd

Browse files
committed
Fix a clippy warning in benches
1 parent cedc326 commit 33eedbd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

benches/bench.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ impl Iterator for RandomKeys {
3838
type Item = usize;
3939
fn next(&mut self) -> Option<usize> {
4040
// Add 1 then multiply by some 32 bit prime.
41-
self.state = self.state.wrapping_add(1).wrapping_mul(3787392781);
41+
self.state = self.state.wrapping_add(1).wrapping_mul(3_787_392_781);
4242
Some(self.state)
4343
}
4444
}

0 commit comments

Comments
 (0)