aoc: stop printing inside run functions
This will make benching implementations easier
This commit is contained in:
parent
6f06d5d7ca
commit
4bff689da0
21 changed files with 139 additions and 75 deletions
|
|
@ -1,3 +1,4 @@
|
|||
use aoc::DayFunc;
|
||||
use aoc::Result;
|
||||
|
||||
use aoc2015::day01;
|
||||
|
|
@ -8,7 +9,7 @@ use aoc2015::day05;
|
|||
use aoc2015::day06;
|
||||
|
||||
fn main() -> Result<()> {
|
||||
let days: &[fn() -> Result<()>] = &[
|
||||
let days: &[DayFunc] = &[
|
||||
day01::run,
|
||||
day02::run,
|
||||
day03::run,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue