diff options
author | 2023-06-21 01:53:36 +0200 | |
---|---|---|
committer | 2023-06-21 01:56:27 +0200 | |
commit | 3a5519d01216197024ba7166a16a971320bcd4fb (patch) | |
tree | d9593bf36f9e21996ec58cf489948d4d382c218b /widget | |
parent | 8ae4e28013ac2b4ae1c0a6d3b0672b59692e45d1 (diff) | |
download | iced-3a5519d01216197024ba7166a16a971320bcd4fb.tar.gz iced-3a5519d01216197024ba7166a16a971320bcd4fb.tar.bz2 iced-3a5519d01216197024ba7166a16a971320bcd4fb.zip |
Update `ouroboros` dependency
Diffstat (limited to 'widget')
-rw-r--r-- | widget/Cargo.toml | 2 | ||||
-rw-r--r-- | widget/src/lazy.rs | 6 |
2 files changed, 2 insertions, 6 deletions
diff --git a/widget/Cargo.toml b/widget/Cargo.toml index 40e4db37..14aae72e 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 4903d0ed..da287f06 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<RefCell<Option<Element<'static, Message, Renderer>>>>, element: Element<'static, Message, Renderer>, tree: &'a mut Tree, |