Skip to content

Commit

Permalink
Fix new elided lifetime lint in the beta toolchain
Browse files Browse the repository at this point in the history
  • Loading branch information
hecrj committed Oct 17, 2024
1 parent f19bb02 commit 4e0a630
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion widget/src/lazy.rs
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ where
layout: Layout<'_>,
renderer: &Renderer,
translation: Vector,
) -> Option<overlay::Element<'_, Message, Theme, Renderer>> {
) -> Option<overlay::Element<'b, Message, Theme, Renderer>> {
let overlay = InnerBuilder {
cell: self.element.borrow().as_ref().unwrap().clone(),
element: self
Expand Down
2 changes: 1 addition & 1 deletion widget/src/pane_grid.rs
Original file line number Diff line number Diff line change
Expand Up @@ -881,7 +881,7 @@ where
layout: Layout<'_>,
renderer: &Renderer,
translation: Vector,
) -> Option<overlay::Element<'_, Message, Theme, Renderer>> {
) -> Option<overlay::Element<'b, Message, Theme, Renderer>> {
let children = self
.contents
.iter_mut()
Expand Down

0 comments on commit 4e0a630

Please sign in to comment.