Skip to content

Commit

Permalink
lints
Browse files Browse the repository at this point in the history
  • Loading branch information
nyurik committed Dec 30, 2023
1 parent 93b75e5 commit 25f25c0
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion src/dns/trust_dns.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
use hyper::client::connect::dns::Name;
use once_cell::sync::OnceCell;
pub use trust_dns_resolver::config::{ResolverConfig, ResolverOpts};
use trust_dns_resolver::{lookup_ip::LookupIpIntoIter, system_conf, TokioAsyncResolver};

use std::io;
Expand Down
2 changes: 1 addition & 1 deletion tests/support/server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ impl Drop for Server {
pub fn http<F, Fut>(func: F) -> Server
where
F: Fn(http::Request<hyper::Body>) -> Fut + Clone + Send + 'static,
Fut: Future<Output = http::Response<hyper::Body>> + Send + 'static,
Fut: Future<Output = Response<hyper::Body>> + Send + 'static,
{
//Spawn new runtime in thread to prevent reactor execution context conflict
thread::spawn(move || {
Expand Down

0 comments on commit 25f25c0

Please sign in to comment.