aboutsummaryrefslogtreecommitdiffstats
path: root/src/day2.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/day2.rs')
-rw-r--r--src/day2.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/day2.rs b/src/day2.rs
index 5ee9200..da2bb89 100644
--- a/src/day2.rs
+++ b/src/day2.rs
@@ -24,7 +24,7 @@ use std::collections::BTreeMap;
///
/// What is the checksum for your list of box IDs?
pub fn part1() {
- let input = ::common::read_stdin_to_string();
+ let input = crate::common::read_stdin_to_string();
let mut two_letter_checksum_component: i64 = 0;
let mut three_letter_checksum_component: i64 = 0;
@@ -80,7 +80,7 @@ pub fn part1() {
///
/// What letters are common between the two correct box IDs? (In the example above, this is found by removing the differing character from either ID, producing fgij.)
pub fn part2() {
- let input = ::common::read_stdin_to_string();
+ let input = crate::common::read_stdin_to_string();
let matches = find_part2_matches(input).expect("No matches found");