Skip to content

Commit

Permalink
oops
Browse files Browse the repository at this point in the history
  • Loading branch information
Icerath committed Dec 25, 2024
1 parent d34a763 commit 4c3be4f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/day24.rs
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ unsafe fn part2_inner(mut input: &[u8]) -> &'static str {
}
}
b'X' if first_char(output) != b'z' => {
swapped.push(output);
let None = swapped.try_push(output) else { unreachable_unchecked() };
}
_ => {}
}
Expand Down

0 comments on commit 4c3be4f

Please sign in to comment.