Skip to content

Commit

Permalink
fixup: unused async
Browse files Browse the repository at this point in the history
  • Loading branch information
dlon committed Oct 21, 2023
1 parent 99f7e59 commit 43b8e89
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mullvad-api/src/rest.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down Expand Up @@ -207,7 +207,7 @@ impl<
}
}

async fn handle_new_request(
fn handle_new_request(
&mut self,
request: Request,
completion_tx: oneshot::Sender<Result<Response>>,
Expand Down

0 comments on commit 43b8e89

Please sign in to comment.