Skip to content

Commit

Permalink
fix warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
jb55 committed May 7, 2024
1 parent 2c788e2 commit 0cc0e23
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion egui-tabs/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use egui::{vec2, Color32, Layout, Sense};
use egui::{vec2, Layout, Sense};

pub struct Tabs {
cols: i32,
Expand Down
2 changes: 1 addition & 1 deletion examples/basic/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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::<MyApp>::default()))
eframe::run_native("Tab Demo", options, Box::new(|_cc| Box::<MyApp>::default()))
}

// When compiling to web using trunk:
Expand Down

0 comments on commit 0cc0e23

Please sign in to comment.