Skip to content

Commit

Permalink
[autofix.ci] apply automated fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
autofix-ci[bot] authored Jul 3, 2024
1 parent bc8fd14 commit 9e2bce4
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/dns.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ pub struct DnsResolver(TokioAsyncResolver);

impl DnsResolver {
pub fn new(name_servers: Option<Vec<SocketAddr>>, use_hosts_file: bool) -> ResolveResult<Self> {

let (config, mut opts) = if let Some(ns) = name_servers {
// Try to get opts from system, but fall back gracefully if that is unavailable.
let opts = read_system_conf().map(|r| r.1).unwrap_or_default();
Expand Down

0 comments on commit 9e2bce4

Please sign in to comment.