[board, moves] Update some comments and docs

This commit is contained in:
Eryn Wells 2025-05-31 15:14:24 -07:00
parent 086f9c5666
commit c3a43fd2ed
3 changed files with 5 additions and 3 deletions

View file

@ -71,8 +71,9 @@ impl Board {
///
/// ## Errors
///
/// When is called with [`PlacePieceStrategy::PreserveExisting`], and a piece already exists on
/// `square`, this method returns a [`PlacePieceError::ExistingPiece`] error.
/// When is called with [`PlacePieceStrategy::PreserveExisting`], and a
/// piece already exists on `square`, this method returns a
/// [`PlacePieceError::ExistingPiece`] error.
///
pub fn place_piece(
&mut self,