fix bare trait object lint in dns module
This commit is contained in:
@@ -49,7 +49,7 @@ impl TrustDnsResolver {
|
|||||||
|
|
||||||
impl hyper_dns::Resolve for TrustDnsResolver {
|
impl hyper_dns::Resolve for TrustDnsResolver {
|
||||||
type Addrs = vec::IntoIter<IpAddr>;
|
type Addrs = vec::IntoIter<IpAddr>;
|
||||||
type Future = Box<Future<Item=Self::Addrs, Error=io::Error> + Send>;
|
type Future = Box<dyn Future<Item=Self::Addrs, Error=io::Error> + Send>;
|
||||||
|
|
||||||
fn resolve(&self, name: hyper_dns::Name) -> Self::Future {
|
fn resolve(&self, name: hyper_dns::Name) -> Self::Future {
|
||||||
let inner = self.inner.clone();
|
let inner = self.inner.clone();
|
||||||
|
|||||||
Reference in New Issue
Block a user