mirror of
https://github.com/cargo-bins/cargo-binstall.git
synced 2025-06-16 15:46:36 +00:00
Fix clippy lint
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
This commit is contained in:
parent
200fb44b4f
commit
184ea69e46
1 changed files with 1 additions and 1 deletions
|
@ -172,7 +172,7 @@ impl Client {
|
||||||
url: &Url,
|
url: &Url,
|
||||||
) -> Result<ControlFlow<reqwest::Response, Result<reqwest::Response, ReqwestError>>, ReqwestError>
|
) -> Result<ControlFlow<reqwest::Response, Result<reqwest::Response, ReqwestError>>, 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 {
|
let response = match self.0.service.call(request).await {
|
||||||
Err(err) if err.is_timeout() || err.is_connect() => {
|
Err(err) if err.is_timeout() || err.is_connect() => {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue