Skip to content

Commit

Permalink
Clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
casperstorm committed Oct 3, 2024
1 parent d71511a commit a7a90c8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion data/src/shortcut.rs
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ impl fmt::Display for Modifiers {
// macOS: ⌃
mods.push("\u{2303}");
} else {
mods.push("Alt");
mods.push("Ctrl");
}
}
if inner.contains(keyboard::Modifiers::ALT) {
Expand Down
2 changes: 1 addition & 1 deletion src/screen/dashboard/sidebar.rs
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ impl Sidebar {
button(
row![icon.width(Length::Fixed(12.0)), title]
.push_maybe(keybind.map(|kb| {
text(format!("({})", kb.to_string()))
text(format!("({kb})"))
.shaping(text::Shaping::Advanced)
.size(theme::TEXT_SIZE - 2.0)
.style(theme::text::secondary)
Expand Down

0 comments on commit a7a90c8

Please sign in to comment.