diff --git a/cli/src/domain/worker.rs b/cli/src/domain/worker.rs index 6928f04..ceff6b6 100644 --- a/cli/src/domain/worker.rs +++ b/cli/src/domain/worker.rs @@ -115,12 +115,8 @@ pub async fn simple_worker>( 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??;