Force clippy to be happy
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Julius 2021-12-06 11:40:48 +01:00
parent 0c4593f8fe
commit be81675b07
Signed by: j00lz
GPG key ID: AF241B0AA237BBA2

View file

@ -25,6 +25,7 @@ impl Day06 {
fn do_magic(&self, days: u64) -> u64 {
(0..days).fold(self.0, Self::foo).iter().sum()
}
#[allow(clippy::many_single_char_names)]
fn foo([a, b, c, d, e, f, g, h, i]: [u64; 9], _: u64) -> [u64; 9] {
[b, c, d, e, f, g, h + a, i, a]
}