Skip to content

Commit

Permalink
chore: remove some debug stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
raklaptudirm committed Nov 27, 2024
1 parent ff45155 commit e6f2b44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion games/src/chess/movegen.rs
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,7 @@ impl<'a> MoveGenerationInfo<'a> {
position.side_to_move(),
))
.next()
.unwrap_or_else(|| panic!("{}", position))
.unwrap_unchecked()
};
let checkers = Self::generate_checkers(position, king);
let checkmask = Self::generate_checkmask(position, checkers, king);
Expand Down

0 comments on commit e6f2b44

Please sign in to comment.