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,