summaryrefslogtreecommitdiffstats
path: root/examples/tinydb.rs
diff options
context:
space:
mode:
Diffstat (limited to 'examples/tinydb.rs')
-rw-r--r--examples/tinydb.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/tinydb.rs b/examples/tinydb.rs
index 19a7396d..0a68a314 100644
--- a/examples/tinydb.rs
+++ b/examples/tinydb.rs
@@ -100,7 +100,7 @@ fn main() {
map: Mutex::new(initial_db),
});
- let done = listener.incoming().for_each(move |(socket, _addr)| {
+ let done = listener.incoming().for_each(move |socket| {
// As with many other small examples, the first thing we'll do is
// *split* this TCP stream into two separately owned halves. This'll
// allow us to work with the read and write halves independently.