From 4e0a63091cf1b5dbff0271200eac49d1b65e77e7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?H=C3=A9ctor=20Ram=C3=B3n=20Jim=C3=A9nez?= Date: Thu, 17 Oct 2024 06:14:30 +0200 Subject: [PATCH] Fix new elided lifetime lint in the `beta` toolchain --- widget/src/lazy.rs | 2 +- widget/src/pane_grid.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/widget/src/lazy.rs b/widget/src/lazy.rs index 6642c9864e..232f254c2c 100644 --- a/widget/src/lazy.rs +++ b/widget/src/lazy.rs @@ -269,7 +269,7 @@ where layout: Layout<'_>, renderer: &Renderer, translation: Vector, - ) -> Option> { + ) -> Option> { let overlay = InnerBuilder { cell: self.element.borrow().as_ref().unwrap().clone(), element: self diff --git a/widget/src/pane_grid.rs b/widget/src/pane_grid.rs index 9d4dda25f8..e6fda66009 100644 --- a/widget/src/pane_grid.rs +++ b/widget/src/pane_grid.rs @@ -881,7 +881,7 @@ where layout: Layout<'_>, renderer: &Renderer, translation: Vector, - ) -> Option> { + ) -> Option> { let children = self .contents .iter_mut()