diff --git a/transports/dns/src/lib.rs b/transports/dns/src/lib.rs index c5b605720ea..00d52122278 100644 --- a/transports/dns/src/lib.rs +++ b/transports/dns/src/lib.rs @@ -175,7 +175,7 @@ where impl Transport for GenDnsConfig where - T: Transport + Clone + Send + 'static, + T: Transport + Send + 'static, T::Error: Send, T::Dial: Send, C: DnsHandle, @@ -235,7 +235,7 @@ where impl GenDnsConfig where - T: Transport + Clone + Send + 'static, + T: Transport + Send + 'static, T::Error: Send, T::Dial: Send, C: DnsHandle,