aboutsummaryrefslogtreecommitdiff
path: root/src/internal
diff options
context:
space:
mode:
authorZeyla Hellyer <[email protected]>2017-08-18 16:14:32 -0700
committerZeyla Hellyer <[email protected]>2017-08-18 17:52:53 -0700
commite4113570967a1fb13539efbfa2cf7285b19d95ba (patch)
tree06bb020fcfaa5f8323454dfb525272314a900186 /src/internal
parentMove Clippy lints to a cfg_attr (diff)
downloadserenity-e4113570967a1fb13539efbfa2cf7285b19d95ba.tar.xz
serenity-e4113570967a1fb13539efbfa2cf7285b19d95ba.zip
Apply rustfmt
Diffstat (limited to 'src/internal')
-rw-r--r--src/internal/ws_impl.rs5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/internal/ws_impl.rs b/src/internal/ws_impl.rs
index a80745d..cd9161a 100644
--- a/src/internal/ws_impl.rs
+++ b/src/internal/ws_impl.rs
@@ -42,8 +42,9 @@ impl ReceiverExt for WsClient<TlsStream<TcpStream>> {
}))
},
OwnedMessage::Ping(x) => {
- self.send_message(&OwnedMessage::Pong(x))
- .map_err(Error::from)?;
+ self.send_message(&OwnedMessage::Pong(x)).map_err(
+ Error::from,
+ )?;
None
},