Skip to content

Commit

Permalink
Refactor ShortcutEdit implementation to use a more concise lifetime a…
Browse files Browse the repository at this point in the history
…nnotation
  • Loading branch information
samclane committed Dec 12, 2024
1 parent d82b5ae commit 39fadb4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/shortcut.rs
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ impl<'a> ShortcutEdit<'a> {
}
}

impl<'a> Widget for ShortcutEdit<'a> {
impl Widget for ShortcutEdit<'_> {
fn ui(self, ui: &mut Ui) -> Response {
let ShortcutEdit { shortcut } = self;

Expand Down

0 comments on commit 39fadb4

Please sign in to comment.