Skip to content

Commit

Permalink
chore: make bitboard internals pub again :(
Browse files Browse the repository at this point in the history
where my const traits at rust
  • Loading branch information
raklaptudirm committed May 27, 2024
1 parent 4e4df44 commit 823e3eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ataxx/src/bitboard.rs
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ use crate::{File, Rank, Square};
/// assert_eq!(!x, BitBoard::UNIVERSE - x); // Complement
/// ```
#[derive(Copy, Clone, PartialEq, Eq, FromPrimitive)]
pub struct BitBoard(u64);
pub struct BitBoard(pub u64);

/// bitboard is a macro which allows creation of BitBoard values from their
/// graphical representation with (.)s and (X)s inside the macro call.
Expand Down

0 comments on commit 823e3eb

Please sign in to comment.