From 100db832f2cb1f869929032103309c64d0f6e231 Mon Sep 17 00:00:00 2001 From: Till Hoeppner Date: Sun, 28 Jun 2015 19:01:20 +0200 Subject: Preserve the mapped stream, instead of dropping soon --- examples/02.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/02.rs b/examples/02.rs index 69c9d0f..ca5cfc4 100644 --- a/examples/02.rs +++ b/examples/02.rs @@ -14,7 +14,7 @@ fn main() { s.register("irsc", "irsc", "Testing for kori", None); let mut shared = s.into_shared(); - let _ = shared.commands() + let _a = shared.commands() .map(|(mut cl, msg, c)| { if let PRIVMSG(to, content) = c { let from = msg.ident().unwrap(); -- cgit v1.2.3