diff --git a/src/day_one.rs b/src/day1.rs similarity index 100% rename from src/day_one.rs rename to src/day1.rs diff --git a/src/day_two.rs b/src/day2.rs similarity index 100% rename from src/day_two.rs rename to src/day2.rs diff --git a/src/day_three.rs b/src/day3.rs similarity index 100% rename from src/day_three.rs rename to src/day3.rs diff --git a/src/main.rs b/src/main.rs index 68bcf50..535adac 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,6 +1,6 @@ -mod day_one; -mod day_three; -mod day_two; +mod day1; +mod day2; +mod day3; use std::fs::File; use std::io::{self, BufRead, BufReader}; @@ -11,12 +11,12 @@ fn main() -> io::Result<()> { .lines() .map(|line| line.unwrap().parse().unwrap()) .collect(); - day_one::main(masses); + day1::main(masses); - day_two::part_one(); - day_two::part_two(); + day2::part_one(); + day2::part_two(); - day_three::main()?; + day3::main()?; Ok(()) }