Skip to content

Commit

Permalink
Merge pull request #1501 from traviscross/TC/reserve-gen
Browse files Browse the repository at this point in the history
Document `gen` keyword as reserved in Rust 2024
  • Loading branch information
ehuss authored Nov 25, 2024
2 parents e501c01 + f5fac38 commit 5c86c73
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/keywords.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,11 @@ The following keywords are reserved beginning in the 2018 edition.
> **<sup>Lexer 2018+</sup>**\
> KW_TRY : `try`
The following keywords are reserved beginning in the 2024 edition.

> **<sup>Lexer 2024+</sup>**\
> KW_GEN : `gen`
## Weak keywords

These keywords have special meaning only in certain contexts. For example, it
Expand Down

0 comments on commit 5c86c73

Please sign in to comment.