From 9a49fd6b2467f82a96eb19f9805e98ece08ecc0a Mon Sep 17 00:00:00 2001 From: jasonwitty Date: Mon, 11 Aug 2025 22:50:15 -0700 Subject: [PATCH] clippy cleanup main --- socktop_agent/src/main.rs | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/socktop_agent/src/main.rs b/socktop_agent/src/main.rs index 1366cd3..059b378 100644 --- a/socktop_agent/src/main.rs +++ b/socktop_agent/src/main.rs @@ -19,7 +19,7 @@ use tokio::sync::{Mutex, Notify, RwLock}; use tracing_subscriber::EnvFilter; use sampler::spawn_sampler; -use state::{AppState}; +use state::AppState; use ws::ws_handler; #[tokio::main] @@ -100,9 +100,7 @@ fn resolve_port() -> u16 { return p; } } - eprintln!( - "Warning: invalid SOCKTOP_PORT='{s}'; using default {DEFAULT}" - ); + eprintln!("Warning: invalid SOCKTOP_PORT='{s}'; using default {DEFAULT}"); } let mut args = std::env::args().skip(1);