diff options
Diffstat (limited to 'examples/websocket/src/echo.rs')
-rw-r--r-- | examples/websocket/src/echo.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/websocket/src/echo.rs b/examples/websocket/src/echo.rs index 0f14af94..1116d1ea 100644 --- a/examples/websocket/src/echo.rs +++ b/examples/websocket/src/echo.rs @@ -12,7 +12,7 @@ use async_tungstenite::tungstenite; use std::fmt; pub fn connect() -> impl Sipper<Never, Event> { - sipper(|mut output| async move { + sipper(async |mut output| { loop { const ECHO_SERVER: &str = "ws://127.0.0.1:3030"; |