From f586e78fc32313e1193731a3645975cbc2a83417 Mon Sep 17 00:00:00 2001 From: Aditya Kumar Date: Sun, 19 Jan 2025 08:05:57 +0000 Subject: [PATCH] clippy fix --- components/monitors/cu_consolemon/src/debug_pane.rs | 2 ++ 1 file changed, 2 insertions(+) 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();