aboutsummaryrefslogtreecommitdiff
path: root/src/moves.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/moves.rs')
-rw-r--r--src/moves.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/moves.rs b/src/moves.rs
index 58fb979..858fe43 100644
--- a/src/moves.rs
+++ b/src/moves.rs
@@ -1,4 +1,4 @@
-use crate::{square::Square, bitboard::BitboardFns, board::PieceType};
+use crate::{square::Square, bitboard::BitboardFns, board::piece::Piece};
#[derive(Debug, Clone, PartialEq, Eq, Copy)]
pub enum MoveKind {
@@ -7,7 +7,7 @@ pub enum MoveKind {
Castle,
EnPassant,
DoublePush,
- Promotion(PieceType),
+ Promotion(Piece),
}
#[derive(Debug, Clone, Copy, PartialEq, Eq)]