diff options
| author | Zeyla Hellyer <[email protected]> | 2017-08-18 17:49:57 -0700 |
|---|---|---|
| committer | Zeyla Hellyer <[email protected]> | 2017-08-18 17:53:13 -0700 |
| commit | 9dc04164b4f72a86e06a18d49292b04c7ccc964a (patch) | |
| tree | f7b39dc97f9d3392c9710ce50666ea109fb916c6 /src/utils/colour.rs | |
| parent | travis: simplify caching config (diff) | |
| download | serenity-9dc04164b4f72a86e06a18d49292b04c7ccc964a.tar.xz serenity-9dc04164b4f72a86e06a18d49292b04c7ccc964a.zip | |
Clippy lints
Diffstat (limited to 'src/utils/colour.rs')
| -rw-r--r-- | src/utils/colour.rs | 3 |
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 { |