From 35f3e691e385307ff51a3278b176b023f9cd20d2 Mon Sep 17 00:00:00 2001 From: Alexander Kernozhitsky Date: Sat, 13 Jul 2024 14:45:44 +0200 Subject: [PATCH] Resolve clippy warnings --- Cargo.toml | 1 + chess/src/moves/base.rs | 4 ---- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 0508d71..654f046 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -3,6 +3,7 @@ members = [ "chess/", "chess_base/", ] +resolver = "2" [workspace.package] version = "0.4.0" diff --git a/chess/src/moves/base.rs b/chess/src/moves/base.rs index 69c7c01..e21f76e 100644 --- a/chess/src/moves/base.rs +++ b/chess/src/moves/base.rs @@ -555,10 +555,6 @@ pub struct RawUndo { move_counter: u16, } -trait MakeMoveImpl { - const COLOR: Color; -} - fn update_castling(b: &mut Board, change: Bitboard) { if (change & castling::ALL_SRCS).is_empty() { return;