-
Notifications
You must be signed in to change notification settings - Fork 498
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
document the stabilized surface of async-await #634
Comments
I am taking a first pass at this. |
Async closures are missing. |
Async closures are not stabilized, and this issue was specific to stabilized surface area -- actually, I think we can probably close this? I'm not sure what I meant by 'document the drop order'. |
@cramertj or @withoutboats do you have any idea what I might have meant by "link to drop order when that is stabilized"? I do know that @matthewjasper recently opened a PR about #514 drop scopes which I think mentioned something about drop order here... |
They're not stabilized? Why does
https://play.rust-lang.org/?version=stable&mode=debug&edition=2018&gist=3795067a2d54b2d90a5d807eed51a93e
work then?
…On Thu., Apr. 16, 2020, 12:32 Niko Matsakis, ***@***.***> wrote:
@cramertj <https://github.com/cramertj> or @withoutboats
<https://github.com/withoutboats> do you have any idea what I might have
meant by "link to drop order when that is stabilized"?
I do know that @matthewjasper <https://github.com/matthewjasper> recently
opened a PR about #514 <#514>
drop scopes which I think mentioned something about drop order here...
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#634 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AE7AOVIFMLPRBMXT4226ZX3RM4XKVANCNFSM4H7SDZSQ>
.
|
I would guess the drop order bit has to do with the changes we made around when |
Another thing that is currently undocumented is async block/fn future types, as types. I filed #1555 for that. |
This issue is part of async-await stabilization (see rust-lang/rust#62149). We need to document the following things:
async fn
and describe their effectsasync move { }
blocksawait
expressions, and describe the "rough" desugaringThe text was updated successfully, but these errors were encountered: