aboutsummaryrefslogtreecommitdiff
path: root/src/board/mod.rs
diff options
context:
space:
mode:
authoreug-vs <eugene@eug-vs.xyz>2023-01-26 22:03:37 +0300
committereug-vs <eugene@eug-vs.xyz>2023-01-26 22:03:37 +0300
commitb2faacc10da5aa76820ba49506995565d405f42b (patch)
tree49c57a88854b582b991b34ffd0a1c3d8267e0911 /src/board/mod.rs
parentc3e45da6364af8b0aa0b2331a5d2991f6c9e224d (diff)
downloadchessnost-b2faacc10da5aa76820ba49506995565d405f42b.tar.gz
docs: remove code from docs to not fail doctest
Diffstat (limited to 'src/board/mod.rs')
-rw-r--r--src/board/mod.rs3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/board/mod.rs b/src/board/mod.rs
index a5803ac..06b61bb 100644
--- a/src/board/mod.rs
+++ b/src/board/mod.rs
@@ -21,9 +21,6 @@ pub struct Board {
pub ep_target: Option<Square>,
/// Castling rights indexed by Color and CastlingSide
- /// ```
- /// let can_castle = castling_rights[Color::White as usize][CastlingSide::Queen as usize];
- /// ```
pub castling_rights: [[bool; 2]; 2],
/// Zobrist hash of the current position