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

Document async block types #1555

Open
kpreid opened this issue Aug 2, 2024 · 1 comment
Open

Document async block types #1555

kpreid opened this issue Aug 2, 2024 · 1 comment
Labels
A-async Area: async / await

Comments

@kpreid
Copy link
Contributor

kpreid commented Aug 2, 2024

The section Types lists most kinds of types that can exist in a Rust program, but it does not list the types introduced by async {} and async fn. These types should be documented, since like closure types, they have nontrivial properties such as which traits they implement.

It's also unclear (at least to me) what they should be called, formally and generally — async block types? generated Future types? coroutine types? — and having that terminology nailed down would help teach Rust by avoiding inconsistent or ambiguous terminology.

@rustbot label A-async "New Content"

@rustbot
Copy link
Collaborator

rustbot commented Aug 2, 2024

Error: Parsing relabel command in comment failed: ...'el A-async' | error: a label delta at >| ' "New Cont'...

Please file an issue on GitHub at triagebot if there's a problem with this bot, or reach out on #t-infra on Zulip.

@ehuss ehuss added the A-async Area: async / await label Aug 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-async Area: async / await
Projects
None yet
Development

No branches or pull requests

3 participants