From b0c403992050cb04cd52565a7c57f3659e28e23e Mon Sep 17 00:00:00 2001 From: Eryn Wells Date: Fri, 2 May 2025 15:42:06 -0700 Subject: [PATCH] [board] Remove Board::new() --- board/src/board.rs | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/board/src/board.rs b/board/src/board.rs index 71ccd60..e091b52 100644 --- a/board/src/board.rs +++ b/board/src/board.rs @@ -50,24 +50,6 @@ impl Board { } } - pub(crate) fn new( - player_to_move: Color, - flags: Flags, - pieces: PieceSet, - en_passant: Option, - half_move_counter: u16, - full_move_number: u16, - ) -> Self { - Self { - player_to_move, - flags, - pieces, - en_passant, - half_move_counter, - full_move_number, - } - } - #[must_use] pub fn player_to_move(&self) -> Color { self.move_counter.active_color