Skip to content

Commit

Permalink
Merge pull request #1925 from iced-rs/update/ouroboros
Browse files Browse the repository at this point in the history
Update `ouroboros` dependency
  • Loading branch information
hecrj authored Jun 21, 2023
2 parents b4ab444 + 3a5519d commit 59bb5a9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
2 changes: 1 addition & 1 deletion widget/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ version = "0.8"
path = "../style"

[dependencies.ouroboros]
version = "0.13"
version = "0.17"
optional = true

[dependencies.qrcode]
Expand Down
6 changes: 1 addition & 5 deletions widget/src/lazy.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 59bb5a9

Please sign in to comment.