From dc0afdb12bc79973badbc21132a6163ab15866a7 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Wed, 17 Feb 2021 22:55:57 +0000 Subject: [PATCH] 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 --- src/{magic.rs => hand.rs} | 0 src/hidden.rs | 3 --- src/lib.rs | 1 + 3 files changed, 1 insertion(+), 3 deletions(-) rename src/{magic.rs => hand.rs} (100%) 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; -- 2.30.2