Skip to content

Commit

Permalink
fix wasm clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
emilk committed Dec 10, 2024
1 parent e96bb87 commit d889dcc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/eframe/src/web/app_runner.rs
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ impl AppRunner {
self.frame.info.cpu_usage = Some(cpu_usage_seconds);
}

fn handle_platform_output(&mut self, platform_output: egui::PlatformOutput) {
fn handle_platform_output(&self, platform_output: egui::PlatformOutput) {
#[cfg(feature = "web_screen_reader")]
if self.egui_ctx.options(|o| o.screen_reader) {
super::screen_reader::speak(&platform_output.events_description());
Expand Down

0 comments on commit d889dcc

Please sign in to comment.