diff options
| author | acdenisSK <[email protected]> | 2017-07-27 08:16:12 +0200 |
|---|---|---|
| committer | acdenisSK <[email protected]> | 2017-07-27 08:16:27 +0200 |
| commit | a53585cd77649733843c993146bc4e422a12ba17 (patch) | |
| tree | 1135217d8314578e073400ad54b8436462d7fce1 | |
| parent | Change the config a bit, and a few nitpicks (diff) | |
| download | serenity-a53585cd77649733843c993146bc4e422a12ba17.tar.xz serenity-a53585cd77649733843c993146bc4e422a12ba17.zip | |
Fix the `_other` match arm
| -rw-r--r-- | src/gateway/shard.rs | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/gateway/shard.rs b/src/gateway/shard.rs index e9f1642..0c34f0e 100644 --- a/src/gateway/shard.rs +++ b/src/gateway/shard.rs @@ -347,9 +347,12 @@ impl Shard { self.stage = ConnectionStage::Connected; }, - ref _other => #[cfg(feature = "voice")] - { - self.voice_dispatch(_other); + #[cfg_attr(rustfmt, rustfmt_skip)] + ref _other => { + #[cfg(feature = "voice")] + { + self.voice_dispatch(_other); + } }, } |