From 032fabe072bb85c2fd6fd1a7c027d72939f81e5f Mon Sep 17 00:00:00 2001 From: Eryn Wells Date: Thu, 1 Feb 2024 08:45:10 -0800 Subject: [PATCH] [bitboard] Return BitBoard::EMPTY from BitBoard's Default impl --- bitboard/src/bitboard.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bitboard/src/bitboard.rs b/bitboard/src/bitboard.rs index 4ed4719..2453cce 100644 --- a/bitboard/src/bitboard.rs +++ b/bitboard/src/bitboard.rs @@ -143,7 +143,7 @@ impl BitBoard { impl Default for BitBoard { fn default() -> Self { - BitBoard::empty() + BitBoard::EMPTY } }