diff options
| author | Zeyla Hellyer <[email protected]> | 2017-08-18 16:14:32 -0700 |
|---|---|---|
| committer | Zeyla Hellyer <[email protected]> | 2017-08-18 17:52:53 -0700 |
| commit | e4113570967a1fb13539efbfa2cf7285b19d95ba (patch) | |
| tree | 06bb020fcfaa5f8323454dfb525272314a900186 /src/internal | |
| parent | Move Clippy lints to a cfg_attr (diff) | |
| download | serenity-e4113570967a1fb13539efbfa2cf7285b19d95ba.tar.xz serenity-e4113570967a1fb13539efbfa2cf7285b19d95ba.zip | |
Apply rustfmt
Diffstat (limited to 'src/internal')
| -rw-r--r-- | src/internal/ws_impl.rs | 5 |
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 }, |