fix(detect): fix warning

This commit is contained in:
Federico Terzi 2021-10-06 19:25:20 +02:00
parent 947edb0cbf
commit 4f37a0abd1

View File

@ -136,7 +136,7 @@ impl Source for CocoaSource {
.hotkeys
.iter()
.filter_map(|hk| {
let raw = convert_hotkey_to_raw(&hk);
let raw = convert_hotkey_to_raw(hk);
if raw.is_none() {
error!("unable to register hotkey: {:?}", hk);
}