1
0
mirror of https://github.com/emilk/egui.git synced 2026-08-31 13:50: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

@@ -116,7 +116,7 @@ impl WebPainter for WebPainterWgpu {
alpha_mode: wgpu::CompositeAlphaMode::Auto,
},
);
self.surface_size = canvas_size.clone();
self.surface_size = canvas_size;
}
let frame = self.surface.get_current_texture().map_err(|err| {