Skip to content

Commit

Permalink
Remove explicit lifetime
Browse files Browse the repository at this point in the history
  • Loading branch information
bash committed Dec 9, 2024
1 parent f04c74f commit 95844aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ impl<'a> ThemeSwitch<'a> {
}
}

impl<'a> Widget for ThemeSwitch<'a> {
impl Widget for ThemeSwitch<'_> {
fn ui(self, ui: &mut crate::Ui) -> crate::Response {
static OPTIONS: [SwitchOption<ThemePreference>; 3] = [
SwitchOption {
Expand Down

0 comments on commit 95844aa

Please sign in to comment.