From 2bf13506380721f0fd00be81b80792b0c0a001ca Mon Sep 17 00:00:00 2001 From: Tom Smeding Date: Fri, 7 Dec 2018 17:08:25 +0100 Subject: Day 7 WIP --- 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 c35e142..fccb319 100644 --- a/2018/src/main.rs +++ b/2018/src/main.rs @@ -15,8 +15,9 @@ mod day3; mod day4; mod day5; mod day6; +mod day7; -static NUM_DAYS: i32 = 6; +static NUM_DAYS: i32 = 7; fn day_switch(day: i32, reader: T) -> io::Result<(String, String)> { match day { @@ -26,6 +27,7 @@ fn day_switch(day: i32, reader: T) -> io::Result<(String, String)> { 4 => day4::main(reader), 5 => day5::main(reader), 6 => day6::main(reader), + 7 => day7::main(reader), _ => Err(Error::new(ErrorKind::Other, "Invalid day")) } } -- cgit v1.2.3-70-g09d2