Skip to content

Commit

Permalink
run rustfmt
Browse files Browse the repository at this point in the history
  • Loading branch information
adryzz committed Dec 18, 2024
1 parent 0d87d8d commit 877ce9f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion examples/chat/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,9 @@ async fn websocket(stream: WebSocket, state: Arc<AppState>) {
} else {
// Only send our client that username is taken.
let _ = sender
.send(Message::Text(Utf8Bytes::from_static("Username already taken.")))
.send(Message::Text(Utf8Bytes::from_static(
"Username already taken.",
)))
.await;

return;
Expand Down

0 comments on commit 877ce9f

Please sign in to comment.