Fix new clippy lints
This commit is contained in:
parent
e8f8216ea1
commit
602661372c
48 changed files with 123 additions and 122 deletions
|
|
@ -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>,
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue