From 3a5519d01216197024ba7166a16a971320bcd4fb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?H=C3=A9ctor=20Ram=C3=B3n=20Jim=C3=A9nez?= Date: Wed, 21 Jun 2023 01:53:36 +0200 Subject: [PATCH] Update `ouroboros` dependency --- widget/Cargo.toml | 2 +- widget/src/lazy.rs | 6 +----- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/widget/Cargo.toml b/widget/Cargo.toml index 40e4db374d..14aae72e31 100644 --- a/widget/Cargo.toml +++ b/widget/Cargo.toml @@ -28,7 +28,7 @@ version = "0.8" path = "../style" [dependencies.ouroboros] -version = "0.13" +version = "0.17" optional = true [dependencies.qrcode] diff --git a/widget/src/lazy.rs b/widget/src/lazy.rs index 4903d0ed12..da287f0653 100644 --- a/widget/src/lazy.rs +++ b/widget/src/lazy.rs @@ -279,11 +279,7 @@ where } #[self_referencing] -struct Inner<'a, Message, Renderer> -where - Message: 'a, - Renderer: 'a, -{ +struct Inner<'a, Message: 'a, Renderer: 'a> { cell: Rc>>>, element: Element<'static, Message, Renderer>, tree: &'a mut Tree,