1
0
Fork 0

split code

This commit is contained in:
Paul-Nicolas Madelaine 2025-11-13 23:10:22 +01:00
parent b3a1e476b2
commit 01253b66de
6 changed files with 403 additions and 381 deletions

View file

@ -634,7 +634,7 @@ pub enum IllegalPositionReason {
/// There is an impossible number of pieces.
///
/// Enforcing this enables to put an upper limit on the number of legal moves on any position,
/// allowing to reduce the size of [`Moves`].
/// allowing to reduce the size of [`Moves`](crate::moves::Moves).
TooMuchMaterial = 64,
/// The pawn that can be taken en passant is pinned diagonally to the playing king.
///