diff options
| -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); + } }, } |