diff --git a/src/movegen/wizardry/mod.rs b/src/movegen/wizardry/mod.rs index eb84fa9..0727293 100644 --- a/src/movegen/wizardry/mod.rs +++ b/src/movegen/wizardry/mod.rs @@ -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.