From a45738da8732a0204d53d46b2ebdb8193e352309 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 12 Oct 2023 03:00:57 +0000 Subject: [PATCH] Format Rust code using rustfmt --- src/net/connections.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/src/net/connections.rs b/src/net/connections.rs index 0d69d7d5..e79ec3d2 100644 --- a/src/net/connections.rs +++ b/src/net/connections.rs @@ -135,7 +135,6 @@ pub async fn maintain_connection( // or create it, if necessary. let ws_receiver = tokio::spawn(async move { while let Some(incoming) = read_stream.next().await { - let Ok(tungstenite::Message::Binary(bin)) = incoming else { if let Ok(tungstenite::Message::Ping(_)) = incoming { // let _ = write_stream.send(tungstenite::Message::Pong(vec![])).await;