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

@@ -9,6 +9,13 @@ use nom::{
IResult,
};
/// part6 of day 1 of AOC 2023
///
/// # Arguments
/// - input the puszzle input
///
/// # Panics
/// panics whenever the input isn't parsable
#[must_use]
pub fn part1(input: &str) -> String {
let (_, races) = parse_input(input).expect("input expected");

View File

@@ -9,6 +9,13 @@ use nom::{
IResult,
};
/// part2 of day 2 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 (_, race) = parse_input(input).expect("input expected");