mirror of
https://github.com/bertptrs/adventofcode.git
synced 2025-12-27 05:40:32 +01:00
Placate clippy
This commit is contained in:
@@ -77,7 +77,6 @@ fn simplify_graph(input: &[u8]) -> anyhow::Result<Vec<Vec<(Slope, usize, u32)>>>
|
||||
while let Some((dist, slope, x, y)) = todo_positions.pop() {
|
||||
let mut enqueue = |x: usize, y: usize, up, down| {
|
||||
if map[(y, x)] == b'#' {
|
||||
return;
|
||||
} else if let Some(&other) = nodes.get(&(x, y)) {
|
||||
if other == id {
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user