Fixed day20 warnings

This commit is contained in:
Jan-Bulthuis 2024-12-22 01:28:58 +01:00
parent 285cefa670
commit cfd13f68bf
1 changed files with 0 additions and 2 deletions

View File

@ -42,7 +42,6 @@ fn parse(input: &str) -> Input {
#[aoc(day20, part1)] #[aoc(day20, part1)]
fn part1(input: &Input) -> usize { fn part1(input: &Input) -> usize {
let start = input.0; let start = input.0;
let end = input.1;
let map = &input.2; let map = &input.2;
#[cfg(not(test))] #[cfg(not(test))]
@ -124,7 +123,6 @@ fn part1(input: &Input) -> usize {
#[aoc(day20, part2)] #[aoc(day20, part2)]
fn part2(input: &Input) -> usize { fn part2(input: &Input) -> usize {
let start = input.0; let start = input.0;
let end = input.1;
let map = &input.2; let map = &input.2;
#[cfg(not(test))] #[cfg(not(test))]