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

@ -138,7 +138,7 @@ where
operation: &'a mut dyn Operation<T>,
}
impl<'a, T, O> Operation<O> for BlackBox<'a, T> {
impl<T, O> Operation<O> for BlackBox<'_, T> {
fn container(
&mut self,
id: Option<&Id>,
@ -218,7 +218,7 @@ where
operation: &'a mut dyn Operation<A>,
}
impl<'a, A, B> Operation<B> for MapRef<'a, A> {
impl<A, B> Operation<B> for MapRef<'_, A> {
fn container(
&mut self,
id: Option<&Id>,

View file

@ -206,8 +206,8 @@ where
#[derive(Debug, Default)]
pub struct State<P: Paragraph>(pub paragraph::Plain<P>);
impl<'a, Message, Theme, Renderer> Widget<Message, Theme, Renderer>
for Text<'a, Theme, Renderer>
impl<Message, Theme, Renderer> Widget<Message, Theme, Renderer>
for Text<'_, Theme, Renderer>
where
Theme: Catalog,
Renderer: text::Renderer,