diff --git a/eframe/src/epi.rs b/eframe/src/epi.rs index 4bc54f3f..c830b7ec 100644 --- a/eframe/src/epi.rs +++ b/eframe/src/epi.rs @@ -52,12 +52,12 @@ pub trait App { /// To force a repaint, call [`egui::Context::request_repaint`] at any time (e.g. from another thread). fn update(&mut self, ctx: &egui::Context, frame: &mut Frame); - // Handle to the app. - // - // Can be used from web to interact or other external context - // Implementation is needed, because downcasting Box -> Box to get &ConcreteApp is not simple in current rust. - // - // Just return &mut *self + /// Handle to the app. + /// + /// Can be used from web to interact or other external context + /// Implementation is needed, because downcasting Box -> Box to get &ConcreteApp is not simple in current rust. + /// + /// Just return &mut *self #[cfg(target_arch = "wasm32")] fn as_any_mut(&mut self) -> &mut dyn Any;