Format Rust code using rustfmt

This commit is contained in:
github-actions[bot] 2024-01-04 15:18:39 +00:00 committed by GitHub
parent 6837118a35
commit 6426e03348
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -651,15 +651,9 @@ async fn send_ws_push(
.send(TungsteniteMessage::Binary(payload.bytes))
.await
}
WsMessageType::Ping => {
ws_stream.send(TungsteniteMessage::Ping(vec![])).await
}
WsMessageType::Pong => {
ws_stream.send(TungsteniteMessage::Pong(vec![])).await
}
WsMessageType::Close => {
ws_stream.send(TungsteniteMessage::Close(None)).await
}
WsMessageType::Ping => ws_stream.send(TungsteniteMessage::Ping(vec![])).await,
WsMessageType::Pong => ws_stream.send(TungsteniteMessage::Pong(vec![])).await,
WsMessageType::Close => ws_stream.send(TungsteniteMessage::Close(None)).await,
};
match result {