Make 'Magic' 'pub(crate)'

This commit is contained in:
Bruno BELANYI 2024-03-29 02:55:03 +00:00
parent 25494700d7
commit d519cfb817

View file

@ -5,7 +5,7 @@ use crate::board::Bitboard;
/// A type representing the magic board indexing a given [crate::board::Square].
#[derive(Clone, Debug)]
pub struct Magic {
pub(crate) struct Magic {
/// Magic number.
pub(crate) magic: u64,
/// Base offset into the magic square table.