fix clippy

This commit is contained in:
Ferdinand Schober
2025-03-15 00:31:37 +01:00
parent f849135c61
commit 93f5172daa
2 changed files with 2 additions and 5 deletions

View File

@@ -356,14 +356,12 @@ impl Window {
fn client_object_for_handle(&self, handle: ClientHandle) -> Option<ClientObject> {
self.client_idx(handle)
.map(|i| self.client_by_idx(i as u32))
.flatten()
.and_then(|i| self.client_by_idx(i as u32))
}
fn row_for_handle(&self, handle: ClientHandle) -> Option<ClientRow> {
self.client_idx(handle)
.map(|i| self.row_by_idx(i as i32))
.flatten()
.and_then(|i| self.row_by_idx(i as i32))
}
fn update_dns_state(&self, handle: ClientHandle, resolved: bool) {