aboutsummaryrefslogtreecommitdiff
path: root/src/model/mod.rs
diff options
context:
space:
mode:
authorZeyla Hellyer <[email protected]>2017-02-12 09:29:20 -0800
committerZeyla Hellyer <[email protected]>2017-02-12 09:29:20 -0800
commite60eb4f47808493cd50f752d01913002a57fb3e9 (patch)
tree88b8eec5db19af0f716cc74aabe0f57d94626af4 /src/model/mod.rs
parentUniquely ratelimit message deletions (diff)
downloadserenity-e60eb4f47808493cd50f752d01913002a57fb3e9.tar.xz
serenity-e60eb4f47808493cd50f752d01913002a57fb3e9.zip
Fix a not-if-else lint
Diffstat (limited to 'src/model/mod.rs')
-rw-r--r--src/model/mod.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/model/mod.rs b/src/model/mod.rs
index 790e378..c3dd233 100644
--- a/src/model/mod.rs
+++ b/src/model/mod.rs
@@ -142,6 +142,7 @@ pub enum Channel {
///
/// This is used to differentiate whether a guild itself can be used or whether
/// a guild needs to be retrieved from the cache.
+#[allow(large_enum_variant)]
pub enum GuildContainer {
/// A guild which can have its contents directly searched.
Guild(PartialGuild),