Fix all auto-fix from clippy
This commit is contained in:
parent
c8b18c2827
commit
f50ece41eb
5 changed files with 63 additions and 105 deletions
|
|
@ -245,12 +245,11 @@ impl ShortcutsConfig {
|
|||
// Remove any matching bindings
|
||||
return false;
|
||||
}
|
||||
if let Some(default_action) = self.defaults.0.get(binding) {
|
||||
if *default_action == reset_action {
|
||||
if let Some(default_action) = self.defaults.0.get(binding)
|
||||
&& *default_action == reset_action {
|
||||
// Remove binding that overrode a default
|
||||
return false;
|
||||
}
|
||||
}
|
||||
true
|
||||
});
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue