Skip to content

Commit

Permalink
Resolve clippy warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
alex65536 committed Jul 13, 2024
1 parent ed23fbf commit 35f3e69
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ members = [
"chess/",
"chess_base/",
]
resolver = "2"

[workspace.package]
version = "0.4.0"
Expand Down
4 changes: 0 additions & 4 deletions chess/src/moves/base.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 35f3e69

Please sign in to comment.