Skip to content

Commit

Permalink
Fix typo in 'rocket_ws' README.
Browse files Browse the repository at this point in the history
  • Loading branch information
levkk authored and SergioBenitez committed Oct 16, 2023
1 parent 58adc48 commit ac01e55
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contrib/ws/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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?;
}
Expand Down

0 comments on commit ac01e55

Please sign in to comment.