1
0
mirror of https://github.com/emilk/egui.git synced 2026-09-03 15:20:05 -04:00

Remove fn as_any as it is no longer needed

This commit is contained in:
Emil Ernerfeldt
2026-01-05 14:16:57 +01:00
parent f8e763378a
commit faccc12c09
3 changed files with 1 additions and 34 deletions

View File

@@ -3,9 +3,6 @@ use egui_demo_lib::{DemoWindows, is_mobile};
#[cfg(feature = "glow")]
use eframe::glow;
#[cfg(target_arch = "wasm32")]
use core::any::Any;
use crate::DemoApp;
#[derive(Default)]
@@ -323,11 +320,6 @@ impl eframe::App for WrapApp {
custom3d.on_exit(gl);
}
}
#[cfg(target_arch = "wasm32")]
fn as_any_mut(&mut self) -> Option<&mut dyn Any> {
Some(&mut *self)
}
}
impl WrapApp {