Use numbers in module names for better sorting
This commit is contained in:
parent
7e4a7641ff
commit
89f79dab93
4 changed files with 7 additions and 7 deletions
14
src/main.rs
14
src/main.rs
|
@ -1,6 +1,6 @@
|
||||||
mod day_one;
|
mod day1;
|
||||||
mod day_three;
|
mod day2;
|
||||||
mod day_two;
|
mod day3;
|
||||||
|
|
||||||
use std::fs::File;
|
use std::fs::File;
|
||||||
use std::io::{self, BufRead, BufReader};
|
use std::io::{self, BufRead, BufReader};
|
||||||
|
@ -11,12 +11,12 @@ fn main() -> io::Result<()> {
|
||||||
.lines()
|
.lines()
|
||||||
.map(|line| line.unwrap().parse().unwrap())
|
.map(|line| line.unwrap().parse().unwrap())
|
||||||
.collect();
|
.collect();
|
||||||
day_one::main(masses);
|
day1::main(masses);
|
||||||
|
|
||||||
day_two::part_one();
|
day2::part_one();
|
||||||
day_two::part_two();
|
day2::part_two();
|
||||||
|
|
||||||
day_three::main()?;
|
day3::main()?;
|
||||||
|
|
||||||
Ok(())
|
Ok(())
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue