mirror of
https://github.com/emilk/egui.git
synced 2026-08-31 13:50:04 -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:
@@ -367,6 +367,7 @@ fn drag_and_drop_test(ui: &mut egui::Ui) {
|
||||
assert!(col <= COLS, "The col should be less then: {COLS}");
|
||||
|
||||
// Should be a better way to do this!
|
||||
#[expect(clippy::iter_over_hash_type)]
|
||||
for container_data in self.containers_data.values_mut() {
|
||||
for ids in container_data {
|
||||
ids.retain(|i| *i != id);
|
||||
|
||||
Reference in New Issue
Block a user