mirror of
https://github.com/bertptrs/adventofcode.git
synced 2025-12-27 05:40:32 +01:00
Fix other clippy warnings.
This commit is contained in:
@@ -22,14 +22,14 @@ impl Iterator for ValidInputs {
|
||||
fn next(&mut self) -> Option<i64> {
|
||||
let mut f = self.f;
|
||||
let mut e = f | 0x10000;
|
||||
f = 13284195;
|
||||
f = 13_284_195;
|
||||
|
||||
loop {
|
||||
let d = e & 0xff;
|
||||
f += d;
|
||||
f &= 0xffffff;
|
||||
f &= 0xff_ffff;
|
||||
f *= 65899;
|
||||
f &= 0xffffff;
|
||||
f &= 0xff_ffff;
|
||||
|
||||
if 0x100 > e {
|
||||
self.f = f;
|
||||
|
||||
Reference in New Issue
Block a user