clippy cleanup main
This commit is contained in:
parent
b35e431200
commit
9a49fd6b24
@ -19,7 +19,7 @@ use tokio::sync::{Mutex, Notify, RwLock};
|
|||||||
use tracing_subscriber::EnvFilter;
|
use tracing_subscriber::EnvFilter;
|
||||||
|
|
||||||
use sampler::spawn_sampler;
|
use sampler::spawn_sampler;
|
||||||
use state::{AppState};
|
use state::AppState;
|
||||||
use ws::ws_handler;
|
use ws::ws_handler;
|
||||||
|
|
||||||
#[tokio::main]
|
#[tokio::main]
|
||||||
@ -100,9 +100,7 @@ fn resolve_port() -> u16 {
|
|||||||
return p;
|
return p;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
eprintln!(
|
eprintln!("Warning: invalid SOCKTOP_PORT='{s}'; using default {DEFAULT}");
|
||||||
"Warning: invalid SOCKTOP_PORT='{s}'; using default {DEFAULT}"
|
|
||||||
);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
let mut args = std::env::args().skip(1);
|
let mut args = std::env::args().skip(1);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user