From 8fdbdd1f610136630767693847234ddb43dbde2b Mon Sep 17 00:00:00 2001 From: Bruno BELANYI Date: Thu, 21 Jul 2022 20:43:18 +0200 Subject: [PATCH] Remove spurious links in 'Bitboard' documentation --- src/board/bitboard/mod.rs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/board/bitboard/mod.rs b/src/board/bitboard/mod.rs index 9f86921..91c3122 100644 --- a/src/board/bitboard/mod.rs +++ b/src/board/bitboard/mod.rs @@ -85,7 +85,7 @@ impl Default for Bitboard { } } -/// Iterate over the [Square](crate::board::Square) values included in the board. +/// Iterate over the [Square] values included in the board. impl IntoIterator for Bitboard { type IntoIter = BitboardIterator; type Item = Square; @@ -135,7 +135,7 @@ impl std::ops::BitOr for Bitboard { } } -/// Treat the [Square](crate::board::Square) as a singleton bitboard, and apply the operator. +/// Treat the [Square] as a singleton bitboard, and apply the operator. impl std::ops::BitOr for Bitboard { type Output = Bitboard; @@ -155,7 +155,7 @@ impl std::ops::BitAnd for Bitboard { } } -/// Treat the [Square](crate::board::Square) as a singleton bitboard, and apply the operator. +/// Treat the [Square] as a singleton bitboard, and apply the operator. impl std::ops::BitAnd for Bitboard { type Output = Bitboard; @@ -175,7 +175,7 @@ impl std::ops::BitXor for Bitboard { } } -/// Treat the [Square](crate::board::Square) as a singleton bitboard, and apply the operator. +/// Treat the [Square] as a singleton bitboard, and apply the operator. impl std::ops::BitXor for Bitboard { type Output = Bitboard; @@ -195,7 +195,7 @@ impl std::ops::Sub for Bitboard { } } -/// Treat the [Square](crate::board::Square) as a singleton bitboard, and apply the operator. +/// Treat the [Square] as a singleton bitboard, and apply the operator. impl std::ops::Sub for Bitboard { type Output = Bitboard;