run_day_part

Function run_day_part 

Source
pub fn run_day_part<Solutions: Part<PART, DAY>, const DAY: u8, const PART: u8>(
    input: &str,
) -> String
Expand description

Run the solution of a given part for the given day, returning the result as a string.

It is mostly used as a nicer way to not need to specify <Solution as Part<X, Y>>::solve(input).to_string().

See also run_day to run the entire day.