Make 'Magic' 'pub(crate)'
This commit is contained in:
parent
25494700d7
commit
d519cfb817
|
@ -5,7 +5,7 @@ use crate::board::Bitboard;
|
||||||
|
|
||||||
/// A type representing the magic board indexing a given [crate::board::Square].
|
/// A type representing the magic board indexing a given [crate::board::Square].
|
||||||
#[derive(Clone, Debug)]
|
#[derive(Clone, Debug)]
|
||||||
pub struct Magic {
|
pub(crate) struct Magic {
|
||||||
/// Magic number.
|
/// Magic number.
|
||||||
pub(crate) magic: u64,
|
pub(crate) magic: u64,
|
||||||
/// Base offset into the magic square table.
|
/// Base offset into the magic square table.
|
||||||
|
|
Loading…
Reference in a new issue