fixing warnings
This commit is contained in:
@@ -314,18 +314,6 @@ async fn execute_action(
|
||||
}
|
||||
}
|
||||
|
||||
fn is_prefix_of_multikey_binding(sequence: &str, config: &Config) -> bool {
|
||||
for (_, bindings) in &config.keybindings {
|
||||
for binding in bindings {
|
||||
if binding.contains('+') { continue; }
|
||||
if binding.len() > sequence.len() && binding.starts_with(sequence) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
}
|
||||
false
|
||||
}
|
||||
|
||||
fn get_char_type(c: char) -> CharType {
|
||||
if c.is_whitespace() {
|
||||
CharType::Whitespace
|
||||
|
||||
Reference in New Issue
Block a user