diff --git a/Cargo.toml b/Cargo.toml index 726adb3..d7a29ac 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -2,7 +2,7 @@ name = "aoc-vv" version = "0.1.0" edition = "2021" -default-run = "p02" +default-run = "p01" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/input.txt b/etc/p01.txt similarity index 100% rename from input.txt rename to etc/p01.txt diff --git a/src/bin/p01.rs b/src/bin/p01.rs index 71a4a1a..ef6214d 100644 --- a/src/bin/p01.rs +++ b/src/bin/p01.rs @@ -3,7 +3,7 @@ use std::io::{self, BufRead}; use std::collections::BinaryHeap; fn main() { - let filename = "input.txt"; + let filename = "etc/p01.txt"; let file = fs::File::open(filename).unwrap(); let lines = io::BufReader::new(file).lines();