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() }