Fix 'ChessBoard::en_passant' documentation
This commit is contained in:
parent
5dce65c570
commit
c412be501f
|
@ -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<Square> {
|
||||
self.en_passant
|
||||
|
|
Loading…
Reference in a new issue