Fix 'ChessBoard::en_passant' documentation
This commit is contained in:
parent
5dce65c570
commit
c412be501f
1 changed files with 1 additions and 1 deletions
|
|
@ -47,7 +47,7 @@ impl ChessBoard {
|
||||||
self.side
|
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)]
|
#[inline(always)]
|
||||||
pub fn en_passant(&self) -> Option<Square> {
|
pub fn en_passant(&self) -> Option<Square> {
|
||||||
self.en_passant
|
self.en_passant
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue