advent-of-code/aoc2020/src/main.rs

25 lines
402 B
Rust

use aoc::DayFunc;
use aoc::Result;
use aoc2020::day01;
use aoc2020::day02;
use aoc2020::day03;
use aoc2020::day04;
use aoc2020::day05;
use aoc2020::day06;
use aoc2020::day07;
fn main() -> Result<()> {
let days: &[DayFunc] = &[
day01::run,
day02::run,
day03::run,
day04::run,
day05::run,
day06::run,
day07::run,
];
aoc::run(days)
}