[core,board] Update all use imports referring to Square, Rank, and File
This commit is contained in:
parent
3c3a62345d
commit
106800bcb3
16 changed files with 40 additions and 40 deletions
|
@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue