aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorZeyla Hellyer <[email protected]>2017-08-18 15:59:28 -0700
committerZeyla Hellyer <[email protected]>2017-08-18 17:51:54 -0700
commita31f99cda50b83cbfc26e35af30e807d16cc4576 (patch)
tree2717f2e3f799fd2df7edd01f89156841ca277e72 /src
parentMove the Framework trait to the framework (diff)
downloadserenity-a31f99cda50b83cbfc26e35af30e807d16cc4576.tar.xz
serenity-a31f99cda50b83cbfc26e35af30e807d16cc4576.zip
Move Clippy lints to a cfg_attr
Diffstat (limited to 'src')
-rw-r--r--src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib.rs b/src/lib.rs
index b8d4c06..1af1f93 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -85,7 +85,7 @@
//! [examples]: https://github.com/zeyla/serenity/tree/master/examples
//! [gateway docs]: gateway/index.html
#![allow(doc_markdown, inline_always, unknown_lints)]
-#![warn(enum_glob_use)]
+#![warn(enum_glob_use, if_not_else)]
#[macro_use]
extern crate bitflags;