From 05a8b8f3fad75763c086649b35a1fefed71093fd Mon Sep 17 00:00:00 2001 From: ThetaSinner Date: Tue, 28 May 2024 11:44:39 +0100 Subject: [PATCH] Format --- src/admin_websocket.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/admin_websocket.rs b/src/admin_websocket.rs index 00a3a93..1ddb9e9 100644 --- a/src/admin_websocket.rs +++ b/src/admin_websocket.rs @@ -75,7 +75,8 @@ impl AdminWebsocket { // WebsocketReceiver needs to be polled in order to receive responses // from remote to sender requests. - let poll_handle = tokio::task::spawn(async move { while rx.recv::().await.is_ok() {} }); + let poll_handle = + tokio::task::spawn(async move { while rx.recv::().await.is_ok() {} }); Ok(Self { tx, poll_handle }) }