mirror of
https://github.com/cargo-bins/cargo-binstall.git
synced 2025-05-20 02:40:02 +00:00
Fix clippy errors in cargo v1.73.0 (#1439)
It actually improves the quality of our code! Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
This commit is contained in:
parent
af04e45b5a
commit
ceba74870e
5 changed files with 14 additions and 11 deletions
|
@ -3,10 +3,13 @@ use std::{net::SocketAddr, sync::Arc};
|
|||
use hyper::client::connect::dns::Name;
|
||||
use once_cell::sync::OnceCell;
|
||||
use reqwest::dns::{Addrs, Resolve};
|
||||
use tracing::{debug, info, instrument, trace, warn};
|
||||
use tracing::{info, instrument, warn};
|
||||
use trust_dns_resolver::TokioAsyncResolver;
|
||||
|
||||
#[cfg(windows)]
|
||||
use tracing::{debug, trace};
|
||||
#[cfg(windows)]
|
||||
use trust_dns_resolver::config::{NameServerConfig, Protocol, ResolverConfig, ResolverOpts};
|
||||
use trust_dns_resolver::TokioAsyncResolver;
|
||||
|
||||
type BoxError = Box<dyn std::error::Error + Send + Sync>;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue