Skip to content

Commit

Permalink
clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
BakerNet committed Dec 17, 2023
1 parent db32aff commit ab7ab36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bin/17.rs
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ fn shortest_path(
}
}

for (new_pos, new_dir) in valid_neighbors(&map, position, direction, dir_count, part2) {
for (new_pos, new_dir) in valid_neighbors(map, position, direction, dir_count, part2) {
let next = State {
cost: cost + map[new_pos.0][new_pos.1],
position: new_pos,
Expand Down

0 comments on commit ab7ab36

Please sign in to comment.