From 7a15bcbeb8a86f3202ae55ca610384991806e443 Mon Sep 17 00:00:00 2001 From: Tom Smeding Date: Wed, 12 Dec 2018 11:58:50 +0100 Subject: Day 12 --- 2018/src/main.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to '2018/src/main.rs') diff --git a/2018/src/main.rs b/2018/src/main.rs index e3622a3..daafaa4 100644 --- a/2018/src/main.rs +++ b/2018/src/main.rs @@ -16,8 +16,9 @@ mod day8; mod day9; mod day10; mod day11; +mod day12; -static NUM_DAYS: i32 = 11; +static NUM_DAYS: i32 = 12; fn day_switch(day: i32, reader: T) -> io::Result<(String, String)> { match day { @@ -32,6 +33,7 @@ fn day_switch(day: i32, reader: T) -> io::Result<(String, String)> { 9 => day9::main(reader), 10 => day10::main(reader), 11 => day11::main(reader), + 12 => day12::main(reader), _ => Err(Error::new(ErrorKind::Other, "Invalid day")) } } -- cgit v1.2.3-70-g09d2