Skip to content

Commit 6f38be0

Browse files
authored
Merge pull request #2140 from avandesa/master
Move `async` and `await` keywords to 'Currently in Use'
2 parents 0beb465 + 649523f commit 6f38be0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/appendix-01-keywords.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ The following keywords currently have the functionality described.
1515

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

6163
* `abstract`
62-
* `async`
63-
* `await`
6464
* `become`
6565
* `box`
6666
* `do`

0 commit comments

Comments
 (0)