We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7dbc4d8 commit 0c61b58Copy full SHA for 0c61b58
src/bin/10.rs
@@ -10,7 +10,6 @@ pub fn part_one(input: &str) -> Option<u32> {
10
let grid: Grid<u8> = Grid::new_from_str(input, |c| c.to_digit(10).unwrap() as u8);
11
12
let trailheads = grid
13
- // TODO: par_iter_item_and_position()
14
.iter_item_and_position()
15
.filter(|(_, &value)| value == 0)
16
.map(|(pos, _)| pos);
@@ -53,7 +52,6 @@ pub fn part_two(input: &str) -> Option<u32> {
53
52
54
55
56
57
58
59
0 commit comments