You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// TODO: extract printing behaviour into a report or summary method with a default implementation
println!(
"Day {0}, Part 1\n\
{1}\n\n\
Day {0}, Part 1\n\
{2}",
Day, part1_output, part2_output
);
I can foresee plenty of reasons to want to customise this and I'd like to enable that more easily.
Separating into two methods means the user can do that without having to re-implement the running of part1 and part2 which is a bit more involved..
The text was updated successfully, but these errors were encountered:
Currently this is done inline in the run method.
I can foresee plenty of reasons to want to customise this and I'd like to enable that more easily.
Separating into two methods means the user can do that without having to re-implement the running of part1 and part2 which is a bit more involved..
The text was updated successfully, but these errors were encountered: