From be81675b07322eb509ec8e6b15e3c7a6290540fa Mon Sep 17 00:00:00 2001 From: Julius de Jeu Date: Mon, 6 Dec 2021 11:40:48 +0100 Subject: [PATCH] Force clippy to be happy --- src/day06.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/day06.rs b/src/day06.rs index 57d82ea..5cf5ff9 100644 --- a/src/day06.rs +++ b/src/day06.rs @@ -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] }