Skip to content

Commit

Permalink
transports/dns: Remove Clone trait bound (#2658)
Browse files Browse the repository at this point in the history
  • Loading branch information
dignifiedquire committed May 19, 2022
1 parent 999a212 commit d4c1292
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions transports/dns/src/lib.rs
Expand Up @@ -175,7 +175,7 @@ where

impl<T, C, P> Transport for GenDnsConfig<T, C, P>
where
T: Transport + Clone + Send + 'static,
T: Transport + Send + 'static,
T::Error: Send,
T::Dial: Send,
C: DnsHandle<Error = ResolveError>,
Expand Down Expand Up @@ -235,7 +235,7 @@ where

impl<T, C, P> GenDnsConfig<T, C, P>
where
T: Transport + Clone + Send + 'static,
T: Transport + Send + 'static,
T::Error: Send,
T::Dial: Send,
C: DnsHandle<Error = ResolveError>,
Expand Down

0 comments on commit d4c1292

Please sign in to comment.