Skip to content

Commit 0c61b58

Browse files
committed
Day 10
1 parent 7dbc4d8 commit 0c61b58

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/bin/10.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ pub fn part_one(input: &str) -> Option<u32> {
1010
let grid: Grid<u8> = Grid::new_from_str(input, |c| c.to_digit(10).unwrap() as u8);
1111

1212
let trailheads = grid
13-
// TODO: par_iter_item_and_position()
1413
.iter_item_and_position()
1514
.filter(|(_, &value)| value == 0)
1615
.map(|(pos, _)| pos);
@@ -53,7 +52,6 @@ pub fn part_two(input: &str) -> Option<u32> {
5352
let grid: Grid<u8> = Grid::new_from_str(input, |c| c.to_digit(10).unwrap() as u8);
5453

5554
let trailheads = grid
56-
// TODO: par_iter_item_and_position()
5755
.iter_item_and_position()
5856
.filter(|(_, &value)| value == 0)
5957
.map(|(pos, _)| pos);

0 commit comments

Comments
 (0)