diff --git a/examples/websockets/src/main.rs b/examples/websockets/src/main.rs index 62b00d34..9c3b9dbb 100644 --- a/examples/websockets/src/main.rs +++ b/examples/websockets/src/main.rs @@ -99,7 +99,7 @@ async fn ws_handler( /// Actual websocket statemachine (one will be spawned per connection) async fn handle_socket(mut socket: WebSocket, who: SocketAddr) { - //send a ping (unsupported by some browsers) just to kick things off and get a response + // send a ping (unsupported by some browsers) just to kick things off and get a response if socket.send(Message::Ping(vec![1, 2, 3])).await.is_ok() { println!("Pinged {who}..."); } else {