From c412be501f495d8e1ff58e548cff2662f2a22f40 Mon Sep 17 00:00:00 2001 From: Bruno BELANYI Date: Sat, 6 Apr 2024 11:22:13 +0100 Subject: [PATCH] Fix 'ChessBoard::en_passant' documentation --- src/board/chess_board/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/board/chess_board/mod.rs b/src/board/chess_board/mod.rs index 9de3fe2..b0ddf42 100644 --- a/src/board/chess_board/mod.rs +++ b/src/board/chess_board/mod.rs @@ -47,7 +47,7 @@ impl ChessBoard { self.side } - /// Return the [Square] currently occupied by a pawn that can be captured en-passant, or `None` + /// Return the target [Square] that can be captured en-passant, or `None` #[inline(always)] pub fn en_passant(&self) -> Option { self.en_passant