Format Rust code using rustfmt

This commit is contained in:
github-actions[bot] 2023-10-12 03:00:57 +00:00 committed by GitHub
parent d0cde6c791
commit a45738da87
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;