Clean up BitBoard's bit ops impl macros

Declare the `forward_ref` crate as a dependency (my first external dependency!)
and use it to clean up the infix, assign, and unary op impls. This crate
automatically implements A+&B, &A+B, and &A+&B for me.
This commit is contained in:
Eryn Wells 2024-07-13 07:08:18 -07:00
parent 2480ef25e9
commit 14ab669763
2 changed files with 14 additions and 29 deletions

View file

@ -7,3 +7,4 @@ edition = "2021"
[dependencies]
chessfriend_core = { path = "../core" }
forward_ref = "1.0.0"