Skip to content

Commit

Permalink
2024 Day 24 - Fix build warning
Browse files Browse the repository at this point in the history
  • Loading branch information
gchazot committed Jan 7, 2025
1 parent 8d7db9d commit f7e23fb
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion 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 Down

0 comments on commit f7e23fb

Please sign in to comment.