From af5521c1c1b44db1c7075d51ebeeae3898f2f11a Mon Sep 17 00:00:00 2001 From: Lucas Meurer Date: Sat, 4 May 2024 18:32:37 +0200 Subject: [PATCH] Fix clippy lint complaining for some reason --- fancy-example/src/shared_state.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/fancy-example/src/shared_state.rs b/fancy-example/src/shared_state.rs index 6f92878..743165c 100644 --- a/fancy-example/src/shared_state.rs +++ b/fancy-example/src/shared_state.rs @@ -20,18 +20,21 @@ fn colors() -> Vec { vec![ Color { name: "Panic Purple", + #[allow(clippy::out_of_bounds_indexing)] color: egui::hex_color!("642CA9"), rounded: false, index: 0, }, Color { name: "Generic Green", + #[allow(clippy::out_of_bounds_indexing)] color: egui::hex_color!("2A9D8F"), rounded: false, index: 1, }, Color { name: "Ownership Orange*", + #[allow(clippy::out_of_bounds_indexing)] color: egui::hex_color!("E9C46A"), rounded: false, index: 2,