diff --git a/2022/template.rs b/2022/template.rs index 3f564b7..d67c70d 100644 --- a/2022/template.rs +++ b/2022/template.rs @@ -21,12 +21,12 @@ mod tests { #[bench] #[ignore] fn part1_bench(b: &mut test::Bencher) { - Day::benchmark(aoc::Part::ONE, b) + Day::benchmark(Day::part1, b) } #[bench] #[ignore] fn part2_bench(b: &mut test::Bencher) { - Day::benchmark(aoc::Part::TWO, b) + Day::benchmark(Day::part2, b) } }