1
0
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:
Emil Ernerfeldt
2022-10-30 20:55:07 +01:00
committed by GitHub
parent 53b800502a
commit 2b1341095d
10 changed files with 39 additions and 24 deletions

View File

@@ -108,6 +108,9 @@ pub use web_sys;
/// eframe::start_web(canvas_id, web_options, Box::new(|cc| Box::new(MyEguiApp::new(cc)))).await
/// }
/// ```
///
/// # Errors
/// Failing to initialize WebGL graphics.
#[cfg(target_arch = "wasm32")]
pub async fn start_web(
canvas_id: &str,