Skip to content

Commit 9c7fc4a

Browse files
committed
Reactor::tcp_connect: don't require 'static AsyncToSocketAddrs
1 parent 5dbda61 commit 9c7fc4a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/traits/reactor.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ pub trait Reactor {
3434
Self: Sized;
3535

3636
/// Create a TcpStream by connecting to a remote host
37-
fn tcp_connect<A: AsyncToSocketAddrs + Send + 'static>(
37+
fn tcp_connect<A: AsyncToSocketAddrs + Send>(
3838
&self,
3939
addrs: A,
4040
) -> impl Future<Output = io::Result<Self::TcpStream>> + Send

0 commit comments

Comments
 (0)