[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
|
@ -7,8 +7,9 @@ use crate::{
|
|||
position::DiagramFormatter,
|
||||
r#move::Castle,
|
||||
sight::Sight,
|
||||
BitBoard, Move, Square,
|
||||
BitBoard, Move,
|
||||
};
|
||||
use chess_core::Square;
|
||||
use std::{cell::OnceCell, fmt};
|
||||
|
||||
#[derive(Clone, Debug, Eq, PartialEq)]
|
||||
|
@ -266,7 +267,8 @@ impl fmt::Display for Position {
|
|||
|
||||
#[cfg(test)]
|
||||
mod tests {
|
||||
use crate::{position, Castle, Color, Position, Square};
|
||||
use crate::{position, Castle, Color, Position};
|
||||
use chess_core::Square;
|
||||
|
||||
#[test]
|
||||
fn piece_on_square() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue