This commit is contained in:
2025-10-18 11:00:04 -05:00
parent 7128377924
commit 09e05c9f8e

View File

@@ -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.