From 9d49a8cc19ea6072aea7242586b92b04d966f44d Mon Sep 17 00:00:00 2001 From: dignifiedquire Date: Thu, 19 May 2022 11:54:55 +0200 Subject: [PATCH] fix(dns): remove `Clone` boundary on Transport Follow on to https://github.com/libp2p/rust-libp2p/pull/2529 --- transports/dns/src/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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,