mirror of
https://github.com/emilk/egui.git
synced 2026-09-01 14:20:04 -04:00
CI: Run cargo clippy for wasm32-unknown-unknown (#2200)
* CI: Run cargo clippy for wasm32-unknown-unknown * wasm32 clippy fixes * Document when AppRunner::new can fail
This commit is contained in:
@@ -75,7 +75,7 @@ pub trait App {
|
||||
///
|
||||
/// You need to implement this if you want to be able to access the application from JS using [`AppRunner::app_mut`].
|
||||
///
|
||||
/// This is needed because downcasting Box<dyn App> -> Box<dyn Any> to get &ConcreteApp is not simple in current rust.
|
||||
/// This is needed because downcasting `Box<dyn App>` -> `Box<dyn Any>` to get &`ConcreteApp` is not simple in current rust.
|
||||
///
|
||||
/// Just copy-paste this as your implementation:
|
||||
/// ```ignore
|
||||
|
||||
Reference in New Issue
Block a user