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