Skip to content

Commit

Permalink
Pacify clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
turai committed Sep 11, 2023
1 parent 7c0fbd0 commit 3e2daf7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/native/card.rs
Original file line number Diff line number Diff line change
Expand Up @@ -575,9 +575,9 @@ where
.zip(&mut tree.children)
.zip(layout.children())
.filter_map(|((child, state), layout)| {
layout.children().next().map(|child_layout| {
layout.children().next().and_then(|child_layout| {
child.as_widget_mut().overlay(state, child_layout, renderer)
}).unwrap_or(None)
})
})
.collect::<Vec<_>>();

Expand Down

0 comments on commit 3e2daf7

Please sign in to comment.