chiark / gitweb /
Move magic.rs to hand.rs and make it not in hidden
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Wed, 17 Feb 2021 22:55:57 +0000 (22:55 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Wed, 17 Feb 2021 22:55:57 +0000 (22:55 +0000)
hidden now provides the API we need

"magic" tab-completes awkwardly with "magit"

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
src/hand.rs [moved from src/magic.rs with 100% similarity]
src/hidden.rs
src/lib.rs

similarity index 100%
rename from src/magic.rs
rename to src/hand.rs
index 4aad379d2aacdb432f30b11305cd61237e9165ab..cc8e9d0fbaab4cbf30d8fd55e833baed2793e77d 100644 (file)
@@ -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;
index b46f7aa44b610849ff566f07a1be2d9a0132b72d..0fdd5a480aaf1f5e29617163a45b694ae62a28a0 100644 (file)
@@ -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;