diff options
author | Jesse Luehrs <doy@tozt.net> | 2022-11-30 23:14:30 -0500 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2022-11-30 23:14:30 -0500 |
commit | b0b5c235e5b830713253c63600de60282b511f9e (patch) | |
tree | 6e11c1a1c8b1da7819805da835cc4a486ae61c55 /src/2020 | |
parent | 1c0fdd7d69f795c07f85660e01828252570b46b7 (diff) | |
download | advent-of-code-b0b5c235e5b830713253c63600de60282b511f9e.tar.gz advent-of-code-b0b5c235e5b830713253c63600de60282b511f9e.zip |
clippy
Diffstat (limited to 'src/2020')
-rw-r--r-- | src/2020/mod.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/2020/mod.rs b/src/2020/mod.rs index c8d45a0..83e6a6e 100644 --- a/src/2020/mod.rs +++ b/src/2020/mod.rs @@ -21,6 +21,7 @@ mod day9; // NEXT MOD pub fn run(day: u8, puzzle: u8) -> Result<i64> { + #[allow(clippy::match_single_binding)] match (day, puzzle) { (1, 1) => day1::part1(day1::parse(parse::data(2020, 1)?)?), (1, 2) => day1::part2(day1::parse(parse::data(2020, 1)?)?), |