From d649afdcfdbb086ce1fa6fe88aae93764d59d796 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Varga=20D=C3=A1vid=20Lajos?= Date: Fri, 21 Nov 2025 12:57:38 +0100 Subject: [PATCH] limited visibility of method from_bitmovetype from enum MoveType to pub(in super) --- engine/src/movetype.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/src/movetype.rs b/engine/src/movetype.rs index d332780..e9740ae 100644 --- a/engine/src/movetype.rs +++ b/engine/src/movetype.rs @@ -11,7 +11,7 @@ pub enum MoveType { } impl MoveType { - pub fn from_bitmovetype(move_type: BitMoveType) -> Self { + pub(in super) fn from_bitmovetype(move_type: BitMoveType) -> Self { return match move_type { BitMoveType::Quiet => Self::Quiet, BitMoveType::Capture => Self::Capture,