aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAustin Hellyer <[email protected]>2016-12-29 11:57:06 -0800
committerAustin Hellyer <[email protected]>2016-12-29 11:57:06 -0800
commita4eea030b1eff84cd4176e4f773b9e0f5a33d038 (patch)
treefee4aae7af8f025cc7e8e3ba4275ce0b533c5c21 /src
parentAdd guild and channel search (diff)
downloadserenity-a4eea030b1eff84cd4176e4f773b9e0f5a33d038.tar.xz
serenity-a4eea030b1eff84cd4176e4f773b9e0f5a33d038.zip
"Fix" clippy lints
Diffstat (limited to 'src')
-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>,