We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1a7776c commit 3097872Copy full SHA for 3097872
src/futures.rs
@@ -34,10 +34,7 @@ pub enum AsyncTcpStream<S: AsyncRead + AsyncWrite + Send + Unpin + 'static> {
34
35
impl<S: AsyncRead + AsyncWrite + Send + Unpin + 'static> AsyncTcpStream<S> {
36
/// Wrapper around `reactor_trait::TcpReactor::connect`
37
- pub async fn connect<
38
- R: Reactor<TcpStream = S> + Sync,
39
- A: AsyncToSocketAddrs + Send,
40
- >(
+ pub async fn connect<R: Reactor<TcpStream = S> + Sync, A: AsyncToSocketAddrs + Send>(
41
reactor: &R,
42
addr: A,
43
) -> io::Result<Self> {
0 commit comments