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 99078c5 commit 717e99cCopy full SHA for 717e99c
examples/connect.rs
@@ -59,7 +59,7 @@ fn main() {
59
// finishes. If we don't have any more data to read or we won't receive any
60
// more work from the remote then we can exit.
61
let mut stdout = io::stdout();
62
- let client = tcp.and_then(|(sink, stream)| {
+ let client = tcp.and_then(|stream| {
63
let (sink, stream) = stream.framed(Bytes).split();
64
let send_stdin = stdin_rx.forward(sink);
65
let write_stdout = stream.for_each(move |buf| {
0 commit comments