diff --git a/default-plugins/status-bar/src/first_line.rs b/default-plugins/status-bar/src/first_line.rs index ee9b9478d..9fd3b7d91 100644 --- a/default-plugins/status-bar/src/first_line.rs +++ b/default-plugins/status-bar/src/first_line.rs @@ -69,7 +69,6 @@ impl KeyShortcut { KeyModifier::Alt => "^A", KeyModifier::Super => "^Su", KeyModifier::Shift => "^Sh", - _ => "", }) .collect::>() .join("-"); diff --git a/zellij-utils/src/plugin_api/key.rs b/zellij-utils/src/plugin_api/key.rs index f6b75f802..e0d076c7b 100644 --- a/zellij-utils/src/plugin_api/key.rs +++ b/zellij-utils/src/plugin_api/key.rs @@ -73,8 +73,6 @@ impl TryFrom for ProtobufKeyModifier { KeyModifier::Alt => Ok(ProtobufKeyModifier::Alt), KeyModifier::Shift => Ok(ProtobufKeyModifier::Shift), KeyModifier::Super => Ok(ProtobufKeyModifier::Super), - _ => Err("unsupported key modifier"), // TODO: test this so we don't crash if we have a - // Capslock or something } } }