From ac01e55e8bf732c6826cea3224c79f0456062a0c Mon Sep 17 00:00:00 2001 From: Lev Kokotov Date: Mon, 14 Aug 2023 15:46:21 -0700 Subject: [PATCH] Fix typo in 'rocket_ws' README. --- contrib/ws/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/ws/README.md b/contrib/ws/README.md index bd889e89..825bdab6 100644 --- a/contrib/ws/README.md +++ b/contrib/ws/README.md @@ -24,7 +24,7 @@ This crate provides WebSocket support for Rocket via integration with Rocket's ```rust #[get("/echo")] fn echo_stream(ws: ws::WebSocket) -> ws::Stream!['static] { - ws::stream! { ws => + ws::Stream! { ws => for await message in ws { yield message?; }