[core] Use Color::default() instead of Color::White in Board::default()
This commit is contained in:
		
							parent
							
								
									90e33d1202
								
							
						
					
					
						commit
						da4e2f1d50
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -212,7 +212,7 @@ impl Board {
 | 
			
		|||
impl Default for Board {
 | 
			
		||||
    fn default() -> Self {
 | 
			
		||||
        Self {
 | 
			
		||||
            player_to_move: Color::White,
 | 
			
		||||
            player_to_move: Color::default(),
 | 
			
		||||
            flags: Flags::default(),
 | 
			
		||||
            pieces: PieceSet::default(),
 | 
			
		||||
            en_passant: None,
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue