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