diff options
author | Jesse Luehrs <doy@tozt.net> | 2021-12-01 15:27:06 -0500 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2021-12-01 15:27:06 -0500 |
commit | a40f68453cf4b59f166d70e769ce8fd6ceeeb831 (patch) | |
tree | 59c1c5ebe2ae0f1e3f1d53d44d557c1572701d61 /src/2020/6/mod.rs | |
parent | 5f557387543e6d61f315aa82305f5f3f5e8a61ae (diff) | |
download | advent-of-code-a40f68453cf4b59f166d70e769ce8fd6ceeeb831.tar.gz advent-of-code-a40f68453cf4b59f166d70e769ce8fd6ceeeb831.zip |
move data files
Diffstat (limited to 'src/2020/6/mod.rs')
-rw-r--r-- | src/2020/6/mod.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/2020/6/mod.rs b/src/2020/6/mod.rs index 8a9d81c..9d22667 100644 --- a/src/2020/6/mod.rs +++ b/src/2020/6/mod.rs @@ -1,5 +1,5 @@ pub fn part1() -> anyhow::Result<i64> { - let input = crate::util::read_file_str("data/6.txt")?; + let input = crate::util::read_file_str("data/2020/6.txt")?; let mut yes = std::collections::HashSet::new(); let mut total = 0; for line in input.lines() { @@ -17,7 +17,7 @@ pub fn part1() -> anyhow::Result<i64> { } pub fn part2() -> anyhow::Result<i64> { - let input = crate::util::read_file_str("data/6.txt")?; + let input = crate::util::read_file_str("data/2020/6.txt")?; let mut yes = std::collections::HashSet::new(); for c in 'a'..='z' { yes.insert(c); |