diff options
author | 2018-12-10 13:32:53 +1000 | |
---|---|---|
committer | 2018-12-10 13:32:53 +1000 | |
commit | 03c69dbe7d0fadf226bea5cf0d7eb28a93156716 (patch) | |
tree | 4eb07cc9a05b4791b724badbad01699293e31ca0 /src/day2.rs | |
parent | 9d0939dfce47a6135d746da7815dbf10fcf740a0 (diff) |
upgraded to rust 2018 edition
Diffstat (limited to 'src/day2.rs')
-rw-r--r-- | src/day2.rs | 4 |
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"); |