fix(detect): fix warning
This commit is contained in:
parent
947edb0cbf
commit
4f37a0abd1
|
@ -136,7 +136,7 @@ impl Source for CocoaSource {
|
||||||
.hotkeys
|
.hotkeys
|
||||||
.iter()
|
.iter()
|
||||||
.filter_map(|hk| {
|
.filter_map(|hk| {
|
||||||
let raw = convert_hotkey_to_raw(&hk);
|
let raw = convert_hotkey_to_raw(hk);
|
||||||
if raw.is_none() {
|
if raw.is_none() {
|
||||||
error!("unable to register hotkey: {:?}", hk);
|
error!("unable to register hotkey: {:?}", hk);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user