From 0cc0e233256d65bc3b0e2e18fccfc57ccd56415f Mon Sep 17 00:00:00 2001 From: William Casarin Date: Mon, 6 May 2024 20:46:05 -0500 Subject: [PATCH] fix warnings --- egui-tabs/src/lib.rs | 2 +- examples/basic/src/main.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/egui-tabs/src/lib.rs b/egui-tabs/src/lib.rs index 91fcc84..f56989f 100644 --- a/egui-tabs/src/lib.rs +++ b/egui-tabs/src/lib.rs @@ -1,4 +1,4 @@ -use egui::{vec2, Color32, Layout, Sense}; +use egui::{vec2, Layout, Sense}; pub struct Tabs { cols: i32, diff --git a/examples/basic/src/main.rs b/examples/basic/src/main.rs index 8294900..2e8efd4 100644 --- a/examples/basic/src/main.rs +++ b/examples/basic/src/main.rs @@ -9,7 +9,7 @@ fn main() -> Result<(), eframe::Error> { viewport: egui::ViewportBuilder::default().with_inner_size([600.0, 800.0]), ..Default::default() }; - eframe::run_native("Tab Demo", options, Box::new(|cc| Box::::default())) + eframe::run_native("Tab Demo", options, Box::new(|_cc| Box::::default())) } // When compiling to web using trunk: