refactor(lib): update to 2018 edition
This commit is contained in:
@@ -236,7 +236,7 @@ fn spawn_hello(rt: &mut Runtime, opts: &Opts) -> SocketAddr {
|
||||
|
||||
let body = opts.response_body;
|
||||
let srv = Server::bind(&addr)
|
||||
.http2_only(opts.http2);
|
||||
.http2_only(opts.http2)
|
||||
.http2_initial_stream_window_size_(opts.http2_stream_window)
|
||||
.http2_initial_connection_window_size_(opts.http2_conn_window)
|
||||
.serve(move || {
|
||||
|
||||
Reference in New Issue
Block a user