mirror of
https://github.com/tokio-rs/axum.git
synced 2026-08-22 00:00:17 +02:00
Fix typos (#461)
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user