diff --git a/src/bin/day7.rs b/src/bin/day7.rs index 4feeaf3..e2a626b 100644 --- a/src/bin/day7.rs +++ b/src/bin/day7.rs @@ -1,4 +1,4 @@ -#![allow(clippy::no_effect)] +#![allow(clippy::let_and_return, clippy::no_effect)] #![forbid(elided_lifetimes_in_paths, unsafe_code)] use aoc23::read; @@ -14,6 +14,7 @@ macro_rules! cards { enum Card { $($ident),+ } impl Card { + #[allow(dead_code)] fn all_cards() -> [Self; 0 $(+ { $char; 1 })+] { [$(Self::$ident),+] }