1
0
mirror of https://github.com/emilk/egui.git synced 2026-09-02 06:40:06 -04:00

code cleanup: use Trait as _;

This commit is contained in:
Emil Ernerfeldt
2021-10-07 21:39:04 +02:00
parent 45ab9a2450
commit 1dfc399d98
12 changed files with 16 additions and 16 deletions

View File

@@ -55,7 +55,7 @@ impl super::Demo for WindowOptions {
ctx.request_repaint();
}
use super::View;
use super::View as _;
let mut window = egui::Window::new(title)
.id(egui::Id::new("demo_window_options")) // required since we change the title
.resizable(resizable)