File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -71,5 +71,7 @@ async fn new_with_builder() {
7171 srv. connect ( ) . unwrap ( ) ;
7272
7373 // connect to alt service defined in custom ServerBuilder
74- TcpStream :: from_std ( net:: TcpStream :: connect ( alt_addr) . unwrap ( ) ) . unwrap ( ) ;
74+ let stream = net:: TcpStream :: connect ( alt_addr) . unwrap ( ) ;
75+ stream. set_nonblocking ( true ) . unwrap ( ) ;
76+ TcpStream :: from_std ( stream) . unwrap ( ) ;
7577}
Original file line number Diff line number Diff line change @@ -73,7 +73,7 @@ test-all toolchain="": (test toolchain) (test-docs toolchain)
7373doc * args : && doc-set-workspace-crates
7474 rm -f " $(cargo metadata --format-version=1 | jq -r '.target_directory')/doc/crates.js"
7575 RUSTDOCFLAGS=" --cfg=docsrs -Dwarnings" cargo + nightly doc --no-deps --workspace {{ all_crate_features }} {{ args }}
76-
76+
7777[private ]
7878doc-set-workspace-crates :
7979 #!/usr/bin/env bash
You can’t perform that action at this time.
0 commit comments