From 934c956651e19ba77a42bdcb5d5891af147b6975 Mon Sep 17 00:00:00 2001 From: Esther Date: Sun, 18 Aug 2024 11:31:38 -0400 Subject: [PATCH] Hide DebugInputEvent --- input/src/debug_input_event.rs | 2 +- input/src/lib.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/input/src/debug_input_event.rs b/input/src/debug_input_event.rs index 6af9f3f..d6d1ded 100644 --- a/input/src/debug_input_event.rs +++ b/input/src/debug_input_event.rs @@ -1,7 +1,7 @@ use crate::InputEvent; #[cfg(debug_assertions)] -pub enum DebugInputEvent { +pub(crate) enum DebugInputEvent { InputEvent(InputEvent), Alphanumeric(char), } diff --git a/input/src/lib.rs b/input/src/lib.rs index b887422..9f17d61 100644 --- a/input/src/lib.rs +++ b/input/src/lib.rs @@ -16,7 +16,7 @@ mod qwerty_binding; use common::args::Args; use common::{State, MAX_NOTE, MIN_NOTE}; #[cfg(debug_assertions)] -pub use debug_input_event::DebugInputEvent; +use debug_input_event::DebugInputEvent; use hashbrown::HashMap; use ini::Ini; pub use input_event::InputEvent;