diff --git a/crates/binstalk-downloader/src/remote.rs b/crates/binstalk-downloader/src/remote.rs index 10e189bb..7bd2c684 100644 --- a/crates/binstalk-downloader/src/remote.rs +++ b/crates/binstalk-downloader/src/remote.rs @@ -172,7 +172,7 @@ impl Client { url: &Url, ) -> Result>, ReqwestError> { - const HEADER_VALUE_0: HeaderValue = HeaderValue::from_static("0"); + static HEADER_VALUE_0: HeaderValue = HeaderValue::from_static("0"); let response = match self.0.service.call(request).await { Err(err) if err.is_timeout() || err.is_connect() => {