We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d82a605 commit 0911281Copy full SHA for 0911281
examples/realtime/src/main.rs
@@ -142,7 +142,9 @@ async fn read_stdin(tx: futures_channel::mpsc::UnboundedSender<Message>) {
142
// send WebSocket message containing event of type "conversation.item.create" to server
143
tx.unbounded_send(message).unwrap();
144
// send WebSocket message containing event of type "response.create" to server
145
- tx.unbounded_send(Message::Text(ResponseCreateEvent::default().to_text().into()))
146
- .unwrap();
+ tx.unbounded_send(Message::Text(
+ ResponseCreateEvent::default().to_text().into(),
147
+ ))
148
+ .unwrap();
149
}
150
0 commit comments