Skip to content

Commit 9d49a8c

Browse files
fix(dns): remove Clone boundary on Transport
Follow on to libp2p#2529
1 parent 999a212 commit 9d49a8c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

transports/dns/src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ where
175175

176176
impl<T, C, P> Transport for GenDnsConfig<T, C, P>
177177
where
178-
T: Transport + Clone + Send + 'static,
178+
T: Transport + Send + 'static,
179179
T::Error: Send,
180180
T::Dial: Send,
181181
C: DnsHandle<Error = ResolveError>,
@@ -235,7 +235,7 @@ where
235235

236236
impl<T, C, P> GenDnsConfig<T, C, P>
237237
where
238-
T: Transport + Clone + Send + 'static,
238+
T: Transport + Send + 'static,
239239
T::Error: Send,
240240
T::Dial: Send,
241241
C: DnsHandle<Error = ResolveError>,

0 commit comments

Comments
 (0)