summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
Diffstat (limited to 'core')
-rw-r--r--core/src/color.rs2
1 files changed, 0 insertions, 2 deletions
diff --git a/core/src/color.rs b/core/src/color.rs
index 2a4d43f4..fe0a1856 100644
--- a/core/src/color.rs
+++ b/core/src/color.rs
@@ -91,8 +91,6 @@ impl Color {
/// Converts the [`Color`] into its RGBA8 equivalent.
#[must_use]
- #[allow(clippy::cast_sign_loss)]
- #[allow(clippy::cast_possible_truncation)]
pub fn into_rgba8(self) -> [u8; 4] {
[
(self.r * 255.0).round() as u8,