Use new async || closure syntax 🎉
This commit is contained in:
parent
0f9934b1a7
commit
800a73ddd7
3 changed files with 3 additions and 3 deletions
|
|
@ -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";
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue