2
0
Fork 1
mirror of https://github.com/async-rs/async-std.git synced 2025-04-01 05:56:41 +00:00

Fix a typo

This commit is contained in:
Stjepan Glavina 2019-09-11 17:29:33 +02:00
parent ab1e2b403a
commit 0f4f0fb77e

View file

@ -258,7 +258,7 @@ async fn broker(events: Receiver<Event>) {
for addr in to {
if let Some(peer) = peers.get_mut(&addr) {
let msg = format!("from {}: {}\n", from, msg);
peer.send(fmt).await
peer.send(msg).await
.unwrap() // 6
}
}