summaryrefslogtreecommitdiffstats
path: root/core/src/widget
diff options
context:
space:
mode:
Diffstat (limited to 'core/src/widget')
-rw-r--r--core/src/widget/operation.rs4
-rw-r--r--core/src/widget/text.rs4
2 files changed, 4 insertions, 4 deletions
diff --git a/core/src/widget/operation.rs b/core/src/widget/operation.rs
index 097c3601..6bdb27f6 100644
--- a/core/src/widget/operation.rs
+++ b/core/src/widget/operation.rs
@@ -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>,
diff --git a/core/src/widget/text.rs b/core/src/widget/text.rs
index b34c5632..d3d1cffd 100644
--- a/core/src/widget/text.rs
+++ b/core/src/widget/text.rs
@@ -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,