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

fix: Fix typo in documentation
This commit is contained in:
Yoshua Wuyts 2019-12-12 12:04:23 +01:00 committed by GitHub
commit 63b6a2b961
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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