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 }) }