1
0
mirror of https://github.com/emilk/egui.git synced 2026-08-30 21:30:03 -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

@@ -11,7 +11,7 @@ impl super::Demo for DancingStrings {
}
fn show(&mut self, ctx: &CtxRef, open: &mut bool) {
use super::View;
use super::View as _;
Window::new(self.name())
.open(open)
.default_size(vec2(512.0, 256.0))