1
0
mirror of https://github.com/emilk/egui.git synced 2026-09-01 14:20:04 -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

@@ -23,7 +23,7 @@ impl super::Demo for FontBook {
fn show(&mut self, ctx: &egui::CtxRef, open: &mut bool) {
egui::Window::new(self.name()).open(open).show(ctx, |ui| {
use super::View;
use super::View as _;
self.ui(ui);
});
}