[core,board] Update all use imports referring to Square, Rank, and File

This commit is contained in:
Eryn Wells 2024-01-24 08:32:09 -08:00
parent 3c3a62345d
commit 106800bcb3
16 changed files with 40 additions and 40 deletions

View file

@ -6,7 +6,7 @@ macro_rules! piece {
$crate::piece::Piece::new($crate::piece::Color::$color, $crate::piece::Shape::$shape)
};
($color:ident $shape:ident on $square:ident) => {
$crate::piece::PlacedPiece::new(piece!($color $shape), $crate::square::Square::$square)
$crate::piece::PlacedPiece::new(piece!($color $shape), chess_core::Square::$square)
}
}