diff --git a/packages/backend-rs/src/util/http_client.rs b/packages/backend-rs/src/util/http_client.rs index 711405b6a0..167f5c0198 100644 --- a/packages/backend-rs/src/util/http_client.rs +++ b/packages/backend-rs/src/util/http_client.rs @@ -22,7 +22,7 @@ static CLIENT: OnceCell = OnceCell::new(); /// # use backend_rs::util::http_client::client; /// use isahc::AsyncReadResponseExt; /// -/// # fn f() -> Result<(), Box> { +/// # async fn f() -> Result<(), Box> { /// let mut response = client()?.get_async("https://example.com/").await?; /// /// if response.status().is_success() {