aboutsummaryrefslogtreecommitdiffstats
path: root/src/day5.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/day5.rs')
-rw-r--r--src/day5.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/day5.rs b/src/day5.rs
index 00a8779..2b836d8 100644
--- a/src/day5.rs
+++ b/src/day5.rs
@@ -22,7 +22,7 @@
///
/// How many units remain after fully reacting the polymer you scanned?
pub fn part1() {
- let input = ::common::read_stdin_to_string();
+ let input = crate::common::read_stdin_to_string();
let mut polymer: Vec<_> = input.trim().chars().collect();
@@ -51,7 +51,7 @@ pub fn part1() {
///
/// What is the length of the shortest polymer you can produce by removing all units of exactly one type and fully reacting the result?
pub fn part2() {
- let input = ::common::read_stdin_to_string();
+ let input = crate::common::read_stdin_to_string();
let polymer: Vec<_> = input.trim().chars().collect();
let mut shortest_polymer = polymer.len();