From: Ian Jackson Date: Wed, 17 Feb 2021 22:55:57 +0000 (+0000) Subject: Move magic.rs to hand.rs and make it not in hidden X-Git-Tag: otter-0.4.0~418 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=dc0afdb12bc79973badbc21132a6163ab15866a7;p=otter.git Move magic.rs to hand.rs and make it not in hidden hidden now provides the API we need "magic" tab-completes awkwardly with "magit" Signed-off-by: Ian Jackson --- diff --git a/src/magic.rs b/src/hand.rs similarity index 100% rename from src/magic.rs rename to src/hand.rs diff --git a/src/hidden.rs b/src/hidden.rs index 4aad379d..cc8e9d0f 100644 --- a/src/hidden.rs +++ b/src/hidden.rs @@ -2,9 +2,6 @@ // SPDX-License-Identifier: AGPL-3.0-or-later // There is NO WARRANTY. -#[path="magic.rs"] -mod magic; - use crate::prelude::*; use slotmap::secondary; diff --git a/src/lib.rs b/src/lib.rs index b46f7aa4..0fdd5a48 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -15,6 +15,7 @@ pub mod debugreader; pub mod error; pub mod gamestate; pub mod global; +pub mod hand; pub mod hidden; pub mod keydata; pub mod mgmtchannel;