forked from mirror/async-std
Fix a typo
This commit is contained in:
parent
ab1e2b403a
commit
0f4f0fb77e
1 changed files with 1 additions and 1 deletions
|
@ -258,7 +258,7 @@ async fn broker(events: Receiver<Event>) {
|
||||||
for addr in to {
|
for addr in to {
|
||||||
if let Some(peer) = peers.get_mut(&addr) {
|
if let Some(peer) = peers.get_mut(&addr) {
|
||||||
let msg = format!("from {}: {}\n", from, msg);
|
let msg = format!("from {}: {}\n", from, msg);
|
||||||
peer.send(fmt).await
|
peer.send(msg).await
|
||||||
.unwrap() // 6
|
.unwrap() // 6
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue