Use new async || closure syntax 🎉

This commit is contained in:
Héctor Ramón Jiménez 2025-02-21 02:01:42 +01:00
parent 0f9934b1a7
commit 800a73ddd7
No known key found for this signature in database
GPG key ID: 7CC46565708259A7
3 changed files with 3 additions and 3 deletions

View file

@ -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";