aboutsummaryrefslogtreecommitdiff
path: root/src/client/gateway/shard.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/gateway/shard.rs')
-rw-r--r--src/client/gateway/shard.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/client/gateway/shard.rs b/src/client/gateway/shard.rs
index 2c2361d..8a6222a 100644
--- a/src/client/gateway/shard.rs
+++ b/src/client/gateway/shard.rs
@@ -261,6 +261,7 @@ impl Shard {
/// - `Ok(Some((event, None)))`: an op0 dispatch was received, and the
/// shard's voice state will be updated, _if_ the `voice` feature is
/// enabled.
+ #[allow(cyclomatic_complexity)]
#[doc(hidden)]
pub fn handle_event(&mut self,
event: Result<GatewayEvent>,