Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions year_2024/src/day24.rs
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,6 @@ impl Program {
max_errors: usize,
) -> Option<Vec<(usize, usize)>> {
let mut swaps_iter = SwapIterator::from_set(candidates.clone());
let mut i = 0;
while let Some(swap) = swaps_iter.next() {
let mut next_swaps = swaps.clone();
next_swaps.push(swap.clone());
Expand All @@ -261,7 +260,6 @@ impl Program {
}
}
}
i += 1;
}
None
}
Expand Down
Loading