From 2b74fbf58613ff9f9c0be48c0f43323316c74189 Mon Sep 17 00:00:00 2001 From: Nikolay Kim Date: Wed, 31 Jan 2018 13:18:30 -0800 Subject: [PATCH] fix websocket example --- examples/websocket/src/client.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/websocket/src/client.rs b/examples/websocket/src/client.rs index bd44c70b..31fe614d 100644 --- a/examples/websocket/src/client.rs +++ b/examples/websocket/src/client.rs @@ -108,7 +108,7 @@ impl StreamHandler for ChatClient { println!("Connected"); } - fn finished(&mut self, err: Option, ctx: &mut Context) { + fn finished(&mut self, ctx: &mut Context) { println!("Server disconnected"); ctx.stop() }