mirror of
https://github.com/0xMassi/webclaw.git
synced 2026-06-06 22:05:13 +02:00
chore(fetch): satisfy clippy for resolver setup
This commit is contained in:
parent
e2f89941ac
commit
fd2e75d509
1 changed files with 1 additions and 1 deletions
|
|
@ -537,7 +537,7 @@ pub fn build_client(
|
||||||
wreq::Proxy::all(proxy_url).map_err(|e| FetchError::Build(format!("proxy: {e}")))?;
|
wreq::Proxy::all(proxy_url).map_err(|e| FetchError::Build(format!("proxy: {e}")))?;
|
||||||
builder = builder.proxy(proxy);
|
builder = builder.proxy(proxy);
|
||||||
} else {
|
} else {
|
||||||
builder = builder.dns_resolver(PublicDnsResolver::default());
|
builder = builder.dns_resolver(PublicDnsResolver);
|
||||||
}
|
}
|
||||||
|
|
||||||
builder
|
builder
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue