Change to include_str! everywhere

This commit is contained in:
2023-12-07 20:10:13 +01:00
parent 2e76e5faa1
commit 757ae5e878
3 changed files with 6 additions and 6 deletions

View File

@@ -156,7 +156,7 @@ fn part2(input: &str) -> usize {
}
fn main() {
let input = std::fs::read_to_string("./input").unwrap();
let input = include_str!("../input");
println!("Part 1 : {}", part1(&input));
println!("Part 2 : {}", part2(&input));