Skip to content

Commit

Permalink
style(fmt): remove warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
imsnif committed Nov 19, 2024
1 parent ebdf16e commit 0012a67
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion default-plugins/status-bar/src/first_line.rs
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,6 @@ impl KeyShortcut {
KeyModifier::Alt => "^A",
KeyModifier::Super => "^Su",
KeyModifier::Shift => "^Sh",
_ => "",
})
.collect::<Vec<_>>()
.join("-");
Expand Down
2 changes: 0 additions & 2 deletions zellij-utils/src/plugin_api/key.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
}
}
Expand Down

0 comments on commit 0012a67

Please sign in to comment.