fix check errors
This commit is contained in:
parent
dd5ccf5502
commit
ff458116b7
5 changed files with 11 additions and 11 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue