summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/connect.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/connect.rs b/examples/connect.rs
index eeaba217..9ee8c51a 100644
--- a/examples/connect.rs
+++ b/examples/connect.rs
@@ -59,7 +59,7 @@ fn main() {
// finishes. If we don't have any more data to read or we won't receive any
// more work from the remote then we can exit.
let mut stdout = io::stdout();
- let client = tcp.and_then(|(sink, stream)| {
+ let client = tcp.and_then(|stream| {
let (sink, stream) = stream.framed(Bytes).split();
let send_stdin = stdin_rx.forward(sink);
let write_stdout = stream.for_each(move |buf| {