File tree 2 files changed +4
-2
lines changed
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() {
71
71
srv. connect ( ) . unwrap ( ) ;
72
72
73
73
// 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 ( ) ;
75
77
}
Original file line number Diff line number Diff line change @@ -73,7 +73,7 @@ test-all toolchain="": (test toolchain) (test-docs toolchain)
73
73
doc * args : && doc-set-workspace-crates
74
74
rm -f " $(cargo metadata --format-version=1 | jq -r '.target_directory')/doc/crates.js"
75
75
RUSTDOCFLAGS=" --cfg=docsrs -Dwarnings" cargo + nightly doc --no-deps --workspace {{ all_crate_features }} {{ args }}
76
-
76
+
77
77
[private ]
78
78
doc-set-workspace-crates :
79
79
#!/usr/bin/env bash
You can’t perform that action at this time.
0 commit comments