Skip to content

Commit

Permalink
Merge pull request #2140 from avandesa/master
Browse files Browse the repository at this point in the history
Move `async` and `await` keywords to 'Currently in Use'
  • Loading branch information
steveklabnik committed Jan 14, 2020
2 parents 0beb465 + 649523f commit 6f38be0
Showing 1 changed file with 2 additions and 2 deletions.
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

0 comments on commit 6f38be0

Please sign in to comment.