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

24 lines
366 B
Rust

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