summaryrefslogtreecommitdiff
path: root/src/main.rs
diff options
context:
space:
mode:
authorMartin Ashby <martin@ashbysoft.com>2022-12-06 09:25:51 +0000
committerMartin Ashby <martin@ashbysoft.com>2022-12-06 09:25:51 +0000
commit745b6bfd5730a926a32c34d0b6e50a5685cbcddc (patch)
tree8f7b0286954407c7d7e94401289b4daf8cefb123 /src/main.rs
parent3397b97987abac3b1d84d5fa8c7b6185a20bf409 (diff)
downloadaoc2022-745b6bfd5730a926a32c34d0b6e50a5685cbcddc.tar.gz
aoc2022-745b6bfd5730a926a32c34d0b6e50a5685cbcddc.tar.bz2
aoc2022-745b6bfd5730a926a32c34d0b6e50a5685cbcddc.tar.xz
aoc2022-745b6bfd5730a926a32c34d0b6e50a5685cbcddc.zip
Day 6
Reasonably simple this one :)
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main.rs b/src/main.rs
index 12aa4b2..0be4d7f 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -5,6 +5,7 @@ mod day2;
mod day3;
mod day4;
mod day5;
+mod day6;
fn main() {
day1::run(fs::read_to_string("input/day1.txt").expect("Failed to read input file!"));
@@ -12,4 +13,5 @@ fn main() {
day3::run(fs::read_to_string("input/day3.txt").expect("Failed to read input file!"));
day4::run(fs::read_to_string("input/day4.txt").expect("Failed to read input file!"));
day5::run(fs::read_to_string("input/day5.txt").expect("Failed to read input file!"));
+ day6::run(fs::read_to_string("input/day6.txt").expect("Failed to read input file!"));
}