From 2aa186f99a325ef94fc4a46cf7116a8ac675dcfc Mon Sep 17 00:00:00 2001 From: "Christoph J. Scherr" Date: Tue, 13 Aug 2024 16:51:22 +0200 Subject: [PATCH] chore: remove unused warning for load_icon --- src/app.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/app.rs b/src/app.rs index ff08291..560b387 100644 --- a/src/app.rs +++ b/src/app.rs @@ -122,6 +122,7 @@ fn bottom_label(ui: &mut egui::Ui) { }); } +#[allow(unused)] // it is used in the main function pub(crate) fn load_icon() -> IconData { const ICON_RAW: &[u8; 27618] = include_bytes!("../assets/icon-512.jpg"); let (icon_rgba, icon_width, icon_height) = {