Skip to content

Commit

Permalink
Fix lint for Rust 1.83.0
Browse files Browse the repository at this point in the history
  • Loading branch information
mtkennerly committed Nov 28, 2024
1 parent 2639a14 commit 25b9d3e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui/button.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ pub struct CustomButton<'a> {
tooltip_position: tooltip::Position,
}

impl<'a> CustomButton<'a> {
impl CustomButton<'_> {
pub fn on_press(mut self, message: Message) -> Self {
self.on_press = Some(message);
self
Expand Down

0 comments on commit 25b9d3e

Please sign in to comment.