Merge pull request #714 from abhijeetbhagat/patch-1

Add missing ? operator after handle.await
This commit is contained in:
Yoshua Wuyts 2020-03-02 13:11:15 +01:00 committed by GitHub
commit 4034d58709
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -111,7 +111,7 @@ We can "fix" it by waiting for the task to be joined, like this:
#
# async move |stream| {
let handle = task::spawn(connection_loop(stream));
handle.await
handle.await?
# };
```