diff --git a/src/day6.rs b/src/day6.rs index 39a60ea..af4d3d1 100644 --- a/src/day6.rs +++ b/src/day6.rs @@ -164,7 +164,7 @@ pub fn part1(map: &Map) -> u64 { let mut map = map.clone(); map.run_guard::(); - map.grid.count(&b'X') as u64 + 1 // 'X' path positions + 1 starting position + map.grid.count(&b'X') as u64 } // PROBLEM 2 solution