Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

.await explanation #183

Open
alecandido opened this issue Jan 3, 2023 · 0 comments
Open

.await explanation #183

alecandido opened this issue Jan 3, 2023 · 0 comments

Comments

@alecandido
Copy link

alecandido commented Jan 3, 2023

In both sections 1.3. async/.await Primer and 3. async/.await there is no actual explanation of how .await is supposed to work.

The only attempt is in Why Pinning, in which it is written:

To understand why this is necessary, we need to remember how async/.await works.

Even though it is trying to recall something that has never been explained before...

The funny bit is that the async book is also the reference mentioned by the std docs about the keywords:
https://doc.rust-lang.org/std/keyword.await.html
While a more proper reference would have been The Reference: https://doc.rust-lang.org/reference/expressions/await-expr.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant