Merge pull request #614 from killzoner/doc-typo-await

fix: Fix typo in documentation
split-by-pattern
Yoshua Wuyts 5 years ago committed by GitHub
commit 63b6a2b961
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -157,7 +157,7 @@ async fn accept_loop(addr: impl ToSocketAddrs) -> Result<()> {
spawn_and_log_error(connection_loop(broker_sender.clone(), stream)); spawn_and_log_error(connection_loop(broker_sender.clone(), stream));
} }
drop(broker_sender); drop(broker_sender);
broker_handle.await?; broker_handle.await;
Ok(()) Ok(())
} }

Loading…
Cancel
Save