diff --git a/src/day1.rs b/src/day1.rs index ad3cf02..a6043ea 100644 --- a/src/day1.rs +++ b/src/day1.rs @@ -17,7 +17,7 @@ pub fn solve_part1(input: &Vec) -> usize { } } } - unimplemented!(); + panic!("No pair summed to 20202!"); } @@ -36,5 +36,5 @@ pub fn solve_part2(input: &Vec) -> usize { } } } - unimplemented!(); + panic!("No triplet summed to 20202!"); } \ No newline at end of file diff --git a/src/lib.rs b/src/lib.rs index 062a438..58b0f10 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1,3 +1,4 @@ use aoc_runner_derive::aoc_lib; pub mod day1; +pub mod day2; aoc_lib! { year = 2020 } \ No newline at end of file