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:
@@ -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);
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user