silence warnings
This commit is contained in:
parent
3c4e784d97
commit
8f6aa7fcc7
1 changed files with 2 additions and 1 deletions
|
@ -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),+]
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue