diff --git a/Cargo.toml b/Cargo.toml index 23d6775f..9983d0a0 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -82,6 +82,7 @@ needless_pass_by_value = "warn" return_self_not_must_use = "warn" semicolon_if_nothing_returned = "warn" trivially_copy_pass_by_ref = "warn" +unreadable_literal = "warn" use_self = "warn" [features] diff --git a/src/style/color.rs b/src/style/color.rs index 35a687a4..9e012280 100644 --- a/src/style/color.rs +++ b/src/style/color.rs @@ -1,3 +1,5 @@ +#![allow(clippy::unreadable_literal)] + use std::{ fmt::{self, Debug, Display}, str::FromStr, diff --git a/src/style/palette.rs b/src/style/palette.rs index 3e87c03d..ebee1742 100644 --- a/src/style/palette.rs +++ b/src/style/palette.rs @@ -1,3 +1,5 @@ +#![allow(clippy::unreadable_literal)] + //! A module for defining color palettes. pub mod material;