[rs] Move 2022_01 solution to y2022 module
This commit is contained in:
parent
214eb5b258
commit
ff0ebe393b
3 changed files with 3 additions and 2 deletions
|
|
@ -1,4 +1,4 @@
|
|||
mod d01;
|
||||
mod y2022;
|
||||
|
||||
use std::path::{Path, PathBuf};
|
||||
use std::str::FromStr;
|
||||
|
|
@ -66,7 +66,7 @@ fn main() -> anyhow::Result<()> {
|
|||
println!("### Solving day {day}");
|
||||
let input = fs::read_to_string(file)?;
|
||||
match day {
|
||||
Day::Y2022D01 => d01::solve(input)?,
|
||||
Day::Y2022D01 => y2022::d01::solve(input)?,
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
1
rs/src/y2022.rs
Normal file
1
rs/src/y2022.rs
Normal file
|
|
@ -0,0 +1 @@
|
|||
pub mod d01;
|
||||
Loading…
Add table
Add a link
Reference in a new issue