chore: clippy
This commit is contained in:
parent
c13e52da04
commit
2ca99c670a
59 changed files with 1974 additions and 2137 deletions
|
|
@ -449,13 +449,13 @@ impl<P: Program + Send + 'static> IcedElementInternal<P> {
|
|||
)
|
||||
.1;
|
||||
|
||||
if let Some(action) = actions {
|
||||
if let Some(t) = into_stream(action) {
|
||||
let _ = self.scheduler.schedule(t.into_future().map(|f| match f.0 {
|
||||
Some(Action::Output(msg)) => Some(msg),
|
||||
_ => None,
|
||||
}));
|
||||
}
|
||||
if let Some(action) = actions
|
||||
&& let Some(t) = into_stream(action)
|
||||
{
|
||||
let _ = self.scheduler.schedule(t.into_future().map(|f| match f.0 {
|
||||
Some(Action::Output(msg)) => Some(msg),
|
||||
_ => None,
|
||||
}));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue