[position] Move unmake move stuff to an unmake_move module

This commit is contained in:
Eryn Wells 2025-05-27 11:52:17 -07:00
parent a8ea248972
commit db489af50b
3 changed files with 4 additions and 2 deletions

View file

@ -3,6 +3,7 @@
mod captures;
mod make_move;
mod position;
mod unmake_move;
pub use {
make_move::{MakeMoveError, ValidateMove},

View file

@ -60,8 +60,6 @@ pub enum MakeMoveError {
PromotionRequired(Square),
}
pub enum UnmakeMoveError {}
impl Position {
/// Make a move in the position.
///

View file

@ -0,0 +1,3 @@
// Eryn Wells <eryn@erynwells.me>
pub enum UnmakeMoveError {}