From fac3971d2ae3b6a79e62a02e6959ded6f661b169 Mon Sep 17 00:00:00 2001 From: vallentin Date: Thu, 13 Jul 2023 16:54:34 +0200 Subject: [PATCH] Resolved Clippy lint --- colorblast/src/style.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/colorblast/src/style.rs b/colorblast/src/style.rs index fb14beb..7ca9457 100644 --- a/colorblast/src/style.rs +++ b/colorblast/src/style.rs @@ -143,6 +143,8 @@ impl From<[u8; 3]> for Color { } impl From<(u8, u8, u8, u8)> for Color { + // Requires Rust 1.71 + #[allow(unknown_lints, clippy::tuple_array_conversions)] #[inline] fn from((r, g, b, a): (u8, u8, u8, u8)) -> Self { Self([r, g, b, a])