Skip to content

Commit

Permalink
clippy fix
Browse files Browse the repository at this point in the history
  • Loading branch information
AS1100K committed Jan 19, 2025
1 parent 52bd275 commit f586e78
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions components/monitors/cu_consolemon/src/debug_pane.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ pub struct DebugLog {
}

impl DebugLog {
#[allow(dead_code)]
pub fn new(max_lines: u16) -> (Self, SyncSender<String>) {
let (tx, rx) = std::sync::mpsc::sync_channel(1000);
(
Expand Down Expand Up @@ -70,6 +71,7 @@ pub struct LogSubscriber {
}

impl LogSubscriber {
#[allow(dead_code)]
pub fn new(tx: SyncSender<String>) -> Self {
let log_subscriber = Self { tx };
log::set_boxed_logger(Box::new(log_subscriber.clone())).unwrap();
Expand Down

0 comments on commit f586e78

Please sign in to comment.