Fix clippy lints

This commit is contained in:
Héctor Ramón Jiménez 2022-07-27 06:59:54 +02:00
parent effa6881f7
commit c512d50e19
No known key found for this signature in database
GPG key ID: 140CC052C94F138E
4 changed files with 11 additions and 11 deletions

View file

@ -217,6 +217,6 @@ impl From<reqwest::Error> for Error {
}
}
fn button<'a>(text: &'a str) -> widget::Button<'a, Message> {
fn button(text: &str) -> widget::Button<'_, Message> {
widget::button(text).padding(10)
}