From 43b8e89336777cab5baa798e5eb583fb7e60bdd2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20L=C3=B6nnhager?= Date: Sat, 21 Oct 2023 21:26:34 +0200 Subject: [PATCH] fixup: unused async --- mullvad-api/src/rest.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mullvad-api/src/rest.rs b/mullvad-api/src/rest.rs index f2dcccdd0d41..a569a4a1d36e 100644 --- a/mullvad-api/src/rest.rs +++ b/mullvad-api/src/rest.rs @@ -178,7 +178,7 @@ impl< async fn process_command(&mut self, command: RequestCommand) { match command { RequestCommand::NewRequest(request, completion_tx) => { - self.handle_new_request(request, completion_tx).await; + self.handle_new_request(request, completion_tx); } RequestCommand::Reset => { self.connector_handle.reset(); @@ -207,7 +207,7 @@ impl< } } - async fn handle_new_request( + fn handle_new_request( &mut self, request: Request, completion_tx: oneshot::Sender>,