mirror of
https://github.com/feschber/lan-mouse.git
synced 2026-04-11 09:01:28 +03:00
address clippy lints
This commit is contained in:
@@ -175,7 +175,7 @@ fn build_ui(app: &Application) {
|
||||
let index = param.unwrap()
|
||||
.get::<u32>()
|
||||
.unwrap();
|
||||
let Some(client) = window.clients().item(index as u32) else {
|
||||
let Some(client) = window.clients().item(index) else {
|
||||
return;
|
||||
};
|
||||
let client = client.downcast_ref::<ClientObject>().unwrap();
|
||||
|
||||
Reference in New Issue
Block a user