Skip to content

Commit

Permalink
Fix rustfmt issues
Browse files Browse the repository at this point in the history
  • Loading branch information
hch12907 committed Mar 11, 2024
1 parent 49eb461 commit 45da73f
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
12 changes: 9 additions & 3 deletions crates/resolver/src/async_resolver.rs
Expand Up @@ -367,9 +367,15 @@ impl<P: ConnectionProvider> AsyncResolver<P> {
L: From<Lookup> + Send + 'static,
{
let names = self.build_names(name);
LookupFuture::lookup_with_hosts(names, record_type, options, self.client_cache.clone(), self.hosts.clone())
.await
.map(L::from)
LookupFuture::lookup_with_hosts(
names,
record_type,
options,
self.client_cache.clone(),
self.hosts.clone(),
)
.await
.map(L::from)
}

/// Performs a dual-stack DNS lookup for the IP for the given hostname.
Expand Down
2 changes: 1 addition & 1 deletion crates/resolver/src/lookup.rs
Expand Up @@ -319,7 +319,7 @@ where
} else {
client_cache.lookup(query, options).boxed()
}
},
}
Err(err) => future::err(err).boxed(),
};

Expand Down

0 comments on commit 45da73f

Please sign in to comment.