Skip to content

Commit

Permalink
fmt: clippy complaining about stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
rszyma committed Oct 25, 2023
1 parent f9e1c95 commit f8a41d8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/kanata/linux.rs
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,7 @@ impl Kanata {
Kanata::set_repeat_rate(&k.defcfg_items)?;
drop(k);

let scroll_wheel_mapped = false
|| MAPPED_KEYS.lock().contains(&OsCode::MouseWheelUp)
let scroll_wheel_mapped = MAPPED_KEYS.lock().contains(&OsCode::MouseWheelUp)
|| MAPPED_KEYS.lock().contains(&OsCode::MouseWheelDown)
|| MAPPED_KEYS.lock().contains(&OsCode::MouseWheelLeft)
|| MAPPED_KEYS.lock().contains(&OsCode::MouseWheelRight);
Expand Down

0 comments on commit f8a41d8

Please sign in to comment.