Fix new clippy lints

This commit is contained in:
Héctor Ramón Jiménez 2024-12-02 19:53:16 +01:00
parent e8f8216ea1
commit 602661372c
No known key found for this signature in database
GPG key ID: 7CC46565708259A7
48 changed files with 123 additions and 122 deletions

View file

@ -145,7 +145,7 @@ mod rainbow {
}
}
impl<'a, Message> From<Rainbow> for Element<'a, Message> {
impl<Message> From<Rainbow> for Element<'_, Message> {
fn from(rainbow: Rainbow) -> Self {
Self::new(rainbow)
}