summaryrefslogtreecommitdiffhomepage
path: root/mullvad-api/src
diff options
context:
space:
mode:
Diffstat (limited to 'mullvad-api/src')
-rw-r--r--mullvad-api/src/rest.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/mullvad-api/src/rest.rs b/mullvad-api/src/rest.rs
index c3f48b3e8c..4297bd92ed 100644
--- a/mullvad-api/src/rest.rs
+++ b/mullvad-api/src/rest.rs
@@ -244,7 +244,7 @@ pub struct RequestServiceHandle {
impl RequestServiceHandle {
/// Resets the corresponding RequestService, dropping all in-flight requests.
- pub async fn reset(&self) {
+ pub fn reset(&self) {
let _ = self.tx.unbounded_send(RequestCommand::Reset);
}