Skip to content

Commit

Permalink
misc: fmt
Browse files Browse the repository at this point in the history
Signed-off-by: Anthony Griffon <[email protected]>
  • Loading branch information
Miaxos committed Dec 13, 2023
1 parent 8ef6242 commit ed0cd03
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions cli/src/domain/worker.rs
Original file line number Diff line number Diff line change
Expand Up @@ -115,12 +115,8 @@ pub async fn simple_worker<P: AsRef<Path>>(
match select(interrupt, event_loop_fut).await {
// If interrupt is over, it means we closed or reloaded the server so we don't need to
// send back the error.
futures::future::Either::Left((_, _)) => {
Ok(())
}
futures::future::Either::Right((a, _)) => {
a
}
futures::future::Either::Left((_, _)) => Ok(()),
futures::future::Either::Right((a, _)) => a,
}
});
event_loop_handle.await??;
Expand Down

0 comments on commit ed0cd03

Please sign in to comment.