aboutsummaryrefslogtreecommitdiffstats
path: root/zellij-utils/src/plugin_api
diff options
context:
space:
mode:
authorAram Drevekenin <aram@poor.dev>2024-11-19 09:55:29 +0100
committerAram Drevekenin <aram@poor.dev>2024-11-19 09:55:49 +0100
commit0012a676d2bd234ddbf96191712389f0b321f2e3 (patch)
treeafec8439850a8e4b257df06a0565c54b84db7403 /zellij-utils/src/plugin_api
parentdocs(changelog): derive hash and ord for paneid (diff)
downloadsl0ppij-0012a676d2bd234ddbf96191712389f0b321f2e3.tar.gz
sl0ppij-0012a676d2bd234ddbf96191712389f0b321f2e3.tar.xz
sl0ppij-0012a676d2bd234ddbf96191712389f0b321f2e3.zip
style(fmt): remove warnings
Diffstat (limited to 'zellij-utils/src/plugin_api')
-rw-r--r--zellij-utils/src/plugin_api/key.rs2
1 files changed, 0 insertions, 2 deletions
diff --git a/zellij-utils/src/plugin_api/key.rs b/zellij-utils/src/plugin_api/key.rs
index f6b75f80..e0d076c7 100644
--- a/zellij-utils/src/plugin_api/key.rs
+++ b/zellij-utils/src/plugin_api/key.rs
@@ -73,8 +73,6 @@ impl TryFrom<KeyModifier> 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
}
}
}