@@ -1922,8 +1922,7 @@ mod conn {
1922
1922
} ) ;
1923
1923
1924
1924
let io = tcp_connect ( & addr) . await . expect ( "tcp connect" ) ;
1925
- let ( mut client, conn) = conn:: http2:: Builder :: new ( )
1926
- . executor ( TokioExecutor )
1925
+ let ( mut client, conn) = conn:: http2:: Builder :: new ( TokioExecutor )
1927
1926
. handshake ( io)
1928
1927
. await
1929
1928
. expect ( "http handshake" ) ;
@@ -1979,8 +1978,7 @@ mod conn {
1979
1978
} ) ;
1980
1979
1981
1980
let io = tcp_connect ( & addr) . await . expect ( "tcp connect" ) ;
1982
- let ( _client, conn) = conn:: http2:: Builder :: new ( )
1983
- . executor ( TokioExecutor )
1981
+ let ( _client, conn) = conn:: http2:: Builder :: new ( TokioExecutor )
1984
1982
. timer ( TokioTimer )
1985
1983
. keep_alive_interval ( Duration :: from_secs ( 1 ) )
1986
1984
. keep_alive_timeout ( Duration :: from_secs ( 1 ) )
@@ -2008,8 +2006,7 @@ mod conn {
2008
2006
} ) ;
2009
2007
2010
2008
let io = tcp_connect ( & addr) . await . expect ( "tcp connect" ) ;
2011
- let ( mut client, conn) = conn:: http2:: Builder :: new ( )
2012
- . executor ( TokioExecutor )
2009
+ let ( mut client, conn) = conn:: http2:: Builder :: new ( TokioExecutor )
2013
2010
. timer ( TokioTimer )
2014
2011
. keep_alive_interval ( Duration :: from_secs ( 1 ) )
2015
2012
. keep_alive_timeout ( Duration :: from_secs ( 1 ) )
@@ -2040,8 +2037,7 @@ mod conn {
2040
2037
} ) ;
2041
2038
2042
2039
let io = tcp_connect ( & addr) . await . expect ( "tcp connect" ) ;
2043
- let ( mut client, conn) = conn:: http2:: Builder :: new ( )
2044
- . executor ( TokioExecutor )
2040
+ let ( mut client, conn) = conn:: http2:: Builder :: new ( TokioExecutor )
2045
2041
. timer ( TokioTimer )
2046
2042
. keep_alive_interval ( Duration :: from_secs ( 1 ) )
2047
2043
. keep_alive_timeout ( Duration :: from_secs ( 1 ) )
@@ -2100,8 +2096,7 @@ mod conn {
2100
2096
} ) ;
2101
2097
2102
2098
let io = tcp_connect ( & addr) . await . expect ( "tcp connect" ) ;
2103
- let ( mut client, conn) = conn:: http2:: Builder :: new ( )
2104
- . executor ( TokioExecutor )
2099
+ let ( mut client, conn) = conn:: http2:: Builder :: new ( TokioExecutor )
2105
2100
. timer ( TokioTimer )
2106
2101
. keep_alive_interval ( Duration :: from_secs ( 1 ) )
2107
2102
. keep_alive_timeout ( Duration :: from_secs ( 1 ) )
@@ -2156,8 +2151,7 @@ mod conn {
2156
2151
} ) ;
2157
2152
2158
2153
let io = tcp_connect ( & addr) . await . expect ( "tcp connect" ) ;
2159
- let ( mut client, conn) = conn:: http2:: Builder :: new ( )
2160
- . executor ( TokioExecutor )
2154
+ let ( mut client, conn) = conn:: http2:: Builder :: new ( TokioExecutor )
2161
2155
. handshake ( io)
2162
2156
. await
2163
2157
. expect ( "http handshake" ) ;
@@ -2207,8 +2201,7 @@ mod conn {
2207
2201
} ) ;
2208
2202
2209
2203
let io = tcp_connect ( & addr) . await . expect ( "tcp connect" ) ;
2210
- let ( mut client, conn) = conn:: http2:: Builder :: new ( )
2211
- . executor ( TokioExecutor )
2204
+ let ( mut client, conn) = conn:: http2:: Builder :: new ( TokioExecutor )
2212
2205
. handshake :: < _ , Empty < Bytes > > ( io)
2213
2206
. await
2214
2207
. expect ( "http handshake" ) ;
0 commit comments