aboutsummaryrefslogtreecommitdiff
path: root/src/utils/colour.rs
diff options
context:
space:
mode:
authorZeyla Hellyer <[email protected]>2017-08-18 17:49:57 -0700
committerZeyla Hellyer <[email protected]>2017-08-18 17:53:13 -0700
commit9dc04164b4f72a86e06a18d49292b04c7ccc964a (patch)
treef7b39dc97f9d3392c9710ce50666ea109fb916c6 /src/utils/colour.rs
parenttravis: simplify caching config (diff)
downloadserenity-9dc04164b4f72a86e06a18d49292b04c7ccc964a.tar.xz
serenity-9dc04164b4f72a86e06a18d49292b04c7ccc964a.zip
Clippy lints
Diffstat (limited to 'src/utils/colour.rs')
-rw-r--r--src/utils/colour.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/utils/colour.rs b/src/utils/colour.rs
index 77e4cdf..a263019 100644
--- a/src/utils/colour.rs
+++ b/src/utils/colour.rs
@@ -1,3 +1,6 @@
+// Disable this lint to avoid it wanting to change `0xABCDEF` to `0xAB_CDEF`.
+#![allow(unreadable_literal)]
+
macro_rules! colour {
($(#[$attr:meta] $name:ident, $val:expr;)*) => {
impl Colour {