[position] Move unmake move stuff to an unmake_move module
This commit is contained in:
		
							parent
							
								
									a8ea248972
								
							
						
					
					
						commit
						db489af50b
					
				
					 3 changed files with 4 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -3,6 +3,7 @@
 | 
			
		|||
mod captures;
 | 
			
		||||
mod make_move;
 | 
			
		||||
mod position;
 | 
			
		||||
mod unmake_move;
 | 
			
		||||
 | 
			
		||||
pub use {
 | 
			
		||||
    make_move::{MakeMoveError, ValidateMove},
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -60,8 +60,6 @@ pub enum MakeMoveError {
 | 
			
		|||
    PromotionRequired(Square),
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
pub enum UnmakeMoveError {}
 | 
			
		||||
 | 
			
		||||
impl Position {
 | 
			
		||||
    /// Make a move in the position.
 | 
			
		||||
    ///
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
							
								
								
									
										3
									
								
								position/src/position/unmake_move.rs
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										3
									
								
								position/src/position/unmake_move.rs
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,3 @@
 | 
			
		|||
// Eryn Wells <eryn@erynwells.me>
 | 
			
		||||
 | 
			
		||||
pub enum UnmakeMoveError {}
 | 
			
		||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue