From c93e6aa5698d647a1e16f795891bf3d8465879b8 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Mon, 25 Dec 2023 22:36:12 +0000 Subject: [PATCH] Format Rust code using rustfmt --- src/http/server.rs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/http/server.rs b/src/http/server.rs index e6436bf4..8995747e 100644 --- a/src/http/server.rs +++ b/src/http/server.rs @@ -1015,8 +1015,10 @@ async fn handle_app_message( } else { warp::ws::Message::pong(payload.bytes) } - }, - WsMessageType::Close => { unreachable!(); } + } + WsMessageType::Close => { + unreachable!(); + } }; // Send to the websocket if registered if let Some(got) = ws_senders.get(&channel_id) {