aboutsummaryrefslogtreecommitdiff
path: root/src/internal
diff options
context:
space:
mode:
authoracdenisSK <[email protected]>2017-08-01 10:54:32 +0200
committeracdenisSK <[email protected]>2017-08-01 10:54:32 +0200
commit3f9db73a3c193eecfac142ecc40c48d9e4140591 (patch)
tree4e361f176e09319cd3b94c7896ee850b896c4dc6 /src/internal
parentProvide the input and limit back to the user, and do some consistencies (diff)
downloadserenity-3f9db73a3c193eecfac142ecc40c48d9e4140591.tar.xz
serenity-3f9db73a3c193eecfac142ecc40c48d9e4140591.zip
Clippy and rustfmt
Diffstat (limited to 'src/internal')
-rw-r--r--src/internal/ws_impl.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/internal/ws_impl.rs b/src/internal/ws_impl.rs
index 2684f45..a80745d 100644
--- a/src/internal/ws_impl.rs
+++ b/src/internal/ws_impl.rs
@@ -44,7 +44,7 @@ impl ReceiverExt for WsClient<TlsStream<TcpStream>> {
OwnedMessage::Ping(x) => {
self.send_message(&OwnedMessage::Pong(x))
.map_err(Error::from)?;
-
+
None
},
OwnedMessage::Pong(_) => None,