Remove unnecessary iterator
This commit is contained in:
parent
cbdd1d6d6c
commit
7719ed0d6c
1 changed files with 4 additions and 7 deletions
|
@ -520,13 +520,10 @@ impl<S: 'static + Send + Sync> ListDetailsEntry<S> {
|
||||||
.map(|meta| Label::new(meta).color(LabelColor::Muted)),
|
.map(|meta| Label::new(meta).color(LabelColor::Muted)),
|
||||||
)
|
)
|
||||||
.child(
|
.child(
|
||||||
h_stack().gap_1().justify_end().children(
|
h_stack()
|
||||||
self.actions
|
.gap_1()
|
||||||
.take()
|
.justify_end()
|
||||||
.unwrap_or_default()
|
.children(self.actions.take().unwrap_or_default()),
|
||||||
.into_iter()
|
|
||||||
.map(|action| action),
|
|
||||||
),
|
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue