diff --git a/crates/matrix-sdk/src/http_client/mod.rs b/crates/matrix-sdk/src/http_client/mod.rs index 1aa99397119..e12844f51a5 100644 --- a/crates/matrix-sdk/src/http_client/mod.rs +++ b/crates/matrix-sdk/src/http_client/mod.rs @@ -61,7 +61,7 @@ impl MaybeSemaphore { MaybeSemaphore(Arc::new(inner)) } - async fn acquire(&self) -> MaybeSemaphorePermit { + async fn acquire(&self) -> MaybeSemaphorePermit<'_> { match self.0.as_ref() { Some(inner) => { // ignoring errors as we never close this