day-5 and day-6 clippied

This commit is contained in:
Dylan Thies
2023-12-08 08:06:04 -05:00
parent 695b02a3de
commit 007726401d
4 changed files with 28 additions and 0 deletions

View File

@@ -74,6 +74,13 @@ impl ItemMap {
.expect("always")
}
}
/// part1 of day 5 of AOC 2023
///
/// # Arguments
/// - input the puszzle input
///
/// # Panics
/// panics whenever the input isn't parsable
#[must_use]
pub fn part1(input: &str) -> String {

View File

@@ -138,6 +138,13 @@ impl ItemMap {
}
}
/// part2 of day 5 of AOC 2023
///
/// # Arguments
/// - input the puszzle input
///
/// # Panics
/// panics whenever the input isn't parsable
#[must_use]
pub fn part2(input: &str) -> String {
let (_input, (mut to_process, maps)) = parse_input(input).expect("aoc always has input");