Force clippy to be happy
continuous-integration/drone/push Build is passing Details

main
Julius 2021-12-06 11:40:48 +01:00
parent 0c4593f8fe
commit be81675b07
Signed by: j00lz
GPG Key ID: AF241B0AA237BBA2
1 changed files with 1 additions and 0 deletions

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]
}