From ea8e8e75a2fa6dde06e7d0a74d6ce279c28642b5 Mon Sep 17 00:00:00 2001 From: Nikolay Kim Date: Sat, 24 Feb 2018 08:41:58 +0300 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 e35c71bb1..8dc410a78 100644 --- a/examples/websocket/src/client.rs +++ b/examples/websocket/src/client.rs @@ -22,7 +22,7 @@ fn main() { Arbiter::handle().spawn( WsClient::new("http://127.0.0.1:8080/ws/") - .connect().unwrap() + .connect() .map_err(|e| { println!("Error: {}", e); ()