summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--mullvad-rpc/src/rest.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/mullvad-rpc/src/rest.rs b/mullvad-rpc/src/rest.rs
index 57abf5bffd..be4c1dc990 100644
--- a/mullvad-rpc/src/rest.rs
+++ b/mullvad-rpc/src/rest.rs
@@ -54,7 +54,7 @@ pub enum Error {
HttpError(#[error(source)] http::Error),
#[error(display = "Request timed out")]
- TimeoutError(#[error(source)] tokio::time::Elapsed),
+ TimeoutError(#[error(source)] tokio::time::error::Elapsed),
#[error(display = "Failed to deserialize data")]
DeserializeError(#[error(source)] serde_json::Error),