Skip to content

Commit

Permalink
clippy fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ntBre committed Aug 21, 2024
1 parent 6dc4b87 commit ab2250a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/key_handlers.rs
Original file line number Diff line number Diff line change
Expand Up @@ -395,7 +395,7 @@ pub(crate) unsafe extern "C" fn movemouse(_arg: *const Arg) {
}
_ => {}
}
if ev.type_ == ButtonRelease as i32 {
if ev.type_ == ButtonRelease {
break;
}
}
Expand Down Expand Up @@ -493,7 +493,7 @@ pub(crate) unsafe extern "C" fn resizemouse(_arg: *const Arg) {
}
_ => {}
}
if ev.type_ == ButtonRelease as i32 {
if ev.type_ == ButtonRelease {
break;
}
}
Expand Down

0 comments on commit ab2250a

Please sign in to comment.