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

Move async and await keywords to 'Currently in Use' #2140

Merged
merged 1 commit into from
Jan 14, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/appendix-01-keywords.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ The following keywords currently have the functionality described.

* `as` - perform primitive casting, disambiguate the specific trait containing
an item, or rename items in `use` and `extern crate` statements
* `async` - return a `Future` instead of blocking the current thread
* `await` - suspend execution until the result of a `Future` is ready
* `break` - exit a loop immediately
* `const` - define constant items or constant raw pointers
* `continue` - continue to the next loop iteration
Expand Down Expand Up @@ -59,8 +61,6 @@ The following keywords do not have any functionality but are reserved by Rust
for potential future use.

* `abstract`
* `async`
* `await`
* `become`
* `box`
* `do`
Expand Down