Add missing ? operator after handle.await

According to line#118, there should be a `?` operator after `await`.
This commit is contained in:
abhi 2020-02-22 15:17:06 +05:30 committed by GitHub
parent efab39eeaf
commit 4742f461fe
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?
# };
```