aboutsummaryrefslogtreecommitdiff
path: root/src/moves.rs
diff options
context:
space:
mode:
authoreug-vs <eugene@eug-vs.xyz>2023-01-23 16:00:34 +0300
committereug-vs <eugene@eug-vs.xyz>2023-01-23 16:00:34 +0300
commitc0d4d9b5dfa847a773945e189103e8b1482011ca (patch)
tree29a14b5edb74299c10ccefc9959b6ee99b504222 /src/moves.rs
parent2238b6eecdf01cfce6dfbfc785c2a35850595f55 (diff)
downloadchessnost-c0d4d9b5dfa847a773945e189103e8b1482011ca.tar.gz
feat: implement castling
Diffstat (limited to 'src/moves.rs')
-rw-r--r--src/moves.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/moves.rs b/src/moves.rs
index d0e3eb6..f31d864 100644
--- a/src/moves.rs
+++ b/src/moves.rs
@@ -1,6 +1,6 @@
use crate::{square::Square, bitboard::print};
-#[derive(Debug, Clone, Copy)]
+#[derive(Debug, Clone, PartialEq, Eq, Copy)]
pub enum MoveKind {
Quiet,
Capture,