Fix clippy::for_kv_map lint violations (#36493)

Release Notes:

- N/A
This commit is contained in:
tidely 2025-08-20 12:22:19 +03:00 committed by GitHub
parent d4d049d7b9
commit 44941b5dfe
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
11 changed files with 16 additions and 15 deletions

View file

@ -528,7 +528,7 @@ impl WaylandClient {
client.common.appearance = appearance;
for (_, window) in &mut client.windows {
for window in client.windows.values_mut() {
window.set_appearance(appearance);
}
}

View file

@ -456,7 +456,7 @@ impl X11Client {
move |event, _, client| match event {
XDPEvent::WindowAppearance(appearance) => {
client.with_common(|common| common.appearance = appearance);
for (_, window) in &mut client.0.borrow_mut().windows {
for window in client.0.borrow_mut().windows.values_mut() {
window.window.set_appearance(appearance);
}
}