mirror of
https://github.com/uqbar-dao/nectar.git
synced 2024-12-02 08:02:23 +03:00
Format Rust code using rustfmt
This commit is contained in:
parent
6837118a35
commit
6426e03348
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user