From fd3da78224ce86010ed78a8fd6ca8c3263521679 Mon Sep 17 00:00:00 2001 From: Bruno BELANYI Date: Fri, 29 Mar 2024 02:55:03 +0000 Subject: [PATCH] Make 'Magic' 'pub(crate)' --- src/movegen/wizardry/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.