Fix typos (#461)

This commit is contained in:
david-perez
2021-11-03 19:03:46 +00:00
committed by GitHub
parent ba4d8a2357
commit 071a1b26e6
7 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -60,7 +60,7 @@ async fn websocket(stream: WebSocket, state: Arc<AppState>) {
// By splitting we can send and receive at the same time.
let (mut sender, mut receiver) = stream.split();
// Username gets set in the receive loop, if its valid
// Username gets set in the receive loop, if it's valid.
let mut username = String::new();
// Loop until a text message is found.