forked from jmug/stoatchat
Remove whitespace
This commit is contained in:
@@ -181,9 +181,6 @@ pub enum ClientboundNotification {
|
|||||||
id: String,
|
id: String,
|
||||||
update: Value,
|
update: Value,
|
||||||
},
|
},
|
||||||
Pong {
|
|
||||||
data: Vec<u8>
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
impl ClientboundNotification {
|
impl ClientboundNotification {
|
||||||
|
|||||||
@@ -81,7 +81,7 @@ async fn accept(stream: TcpStream) {
|
|||||||
.peer_addr()
|
.peer_addr()
|
||||||
.expect("Connected streams should have a peer address.");
|
.expect("Connected streams should have a peer address.");
|
||||||
let (sender, receiver) = oneshot::channel::<MSGFormat>();
|
let (sender, receiver) = oneshot::channel::<MSGFormat>();
|
||||||
|
|
||||||
let ws_stream = async_tungstenite::accept_hdr_async_with_config(stream, HeaderCallback { sender }, None)
|
let ws_stream = async_tungstenite::accept_hdr_async_with_config(stream, HeaderCallback { sender }, None)
|
||||||
.await
|
.await
|
||||||
.expect("Error during websocket handshake.");
|
.expect("Error during websocket handshake.");
|
||||||
|
|||||||
Reference in New Issue
Block a user