fix check errors

This commit is contained in:
Noa Aarts 2025-04-30 21:53:23 +02:00
parent dd5ccf5502
commit ff458116b7
Signed by: noa
GPG key ID: 1850932741EFF672
5 changed files with 11 additions and 11 deletions

View file

@ -89,7 +89,7 @@ fn make_image_stream(
fn make_stats() -> Message {
let pixels: u64 = COUNTER.load(std::sync::atomic::Ordering::Relaxed);
let clients: u64 = CLIENTS.load(std::sync::atomic::Ordering::Relaxed);
format!("{{\"c\":{}, \"p\":{}}}", clients, pixels).into()
format!("{{\"c\":{clients}, \"p\":{pixels}}}").into()
}
async fn stats_stream(ws: WebSocketUpgrade) -> Response {