diff --git a/components/monitors/cu_consolemon/src/debug_pane.rs b/components/monitors/cu_consolemon/src/debug_pane.rs index 87364146e..5cf6605ad 100644 --- a/components/monitors/cu_consolemon/src/debug_pane.rs +++ b/components/monitors/cu_consolemon/src/debug_pane.rs @@ -20,6 +20,7 @@ pub struct DebugLog { } impl DebugLog { + #[allow(dead_code)] pub fn new(max_lines: u16) -> (Self, SyncSender) { let (tx, rx) = std::sync::mpsc::sync_channel(1000); ( @@ -70,6 +71,7 @@ pub struct LogSubscriber { } impl LogSubscriber { + #[allow(dead_code)] pub fn new(tx: SyncSender) -> Self { let log_subscriber = Self { tx }; log::set_boxed_logger(Box::new(log_subscriber.clone())).unwrap();