autofmt
This commit is contained in:
@@ -78,7 +78,6 @@ async fn websocket(socket: WebSocket, state: Arc<AppState>) {
|
|||||||
let mut rx = state.tx.subscribe();
|
let mut rx = state.tx.subscribe();
|
||||||
let _ = state.tx.send(format!("{username} joined the lobby!"));
|
let _ = state.tx.send(format!("{username} joined the lobby!"));
|
||||||
|
|
||||||
|
|
||||||
// Read messages broadcast through the server, write them to this socket.
|
// Read messages broadcast through the server, write them to this socket.
|
||||||
// If any error is returned, break the loop to terminate the task. We're
|
// If any error is returned, break the loop to terminate the task. We're
|
||||||
// not dealing with them right now.
|
// not dealing with them right now.
|
||||||
|
|||||||
Reference in New Issue
Block a user