mirror of
https://github.com/emilk/egui.git
synced 2026-09-02 06:40:06 -04:00
Enable clippy::iter_over_hash_type lint (#7421)
This helped discover a few things that _might_ have been buggy.
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
use ahash::HashSet;
|
||||
pub use egui_winit::{self, EventResponse};
|
||||
|
||||
use egui::{ViewportId, ViewportOutput};
|
||||
pub use egui_winit;
|
||||
pub use egui_winit::EventResponse;
|
||||
use egui_winit::winit;
|
||||
|
||||
use crate::shader_version::ShaderVersion;
|
||||
@@ -81,7 +80,7 @@ impl EguiGlow {
|
||||
log::warn!("Multiple viewports not yet supported by EguiGlow");
|
||||
}
|
||||
for (_, ViewportOutput { commands, .. }) in viewport_output {
|
||||
let mut actions_requested: HashSet<egui_winit::ActionRequested> = Default::default();
|
||||
let mut actions_requested = Default::default();
|
||||
egui_winit::process_viewport_commands(
|
||||
&self.egui_ctx,
|
||||
&mut self.viewport_info,
|
||||
|
||||
Reference in New Issue
Block a user