Add missing ? operator after handle.await

According to line#118, there should be a `?` operator after `await`.
split-by-pattern
abhi 4 years ago committed by GitHub
parent efab39eeaf
commit 4742f461fe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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?
# };
```

Loading…
Cancel
Save