Skip to content

Commit a7dac0a

Browse files
authored
Merge pull request #2031 from mattheww/2025-10_typos
Typo fixes for the Tokens page (additions -> editions)
2 parents e11adf6 + ea8e654 commit a7dac0a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/tokens.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -469,7 +469,7 @@ c"\xC3\xA6";
469469

470470
r[lex.token.str-c.edition2021]
471471
> [!EDITION-2021]
472-
> C string literals are accepted in the 2021 edition or later. In earlier additions the token `c""` is lexed as `c ""`.
472+
> C string literals are accepted in the 2021 edition or later. In earlier editions the token `c""` is lexed as `c ""`.
473473
474474
r[lex.token.str-c-raw]
475475
#### Raw C string literals
@@ -501,7 +501,7 @@ literal) or `U+005C` (`\`) do not have any special meaning.
501501

502502
r[lex.token.str-c-raw.edition2021]
503503
> [!EDITION-2021]
504-
> Raw C string literals are accepted in the 2021 edition or later. In earlier additions the token `cr""` is lexed as `cr ""`, and `cr#""#` is lexed as `cr #""#` (which is non-grammatical).
504+
> Raw C string literals are accepted in the 2021 edition or later. In earlier editions the token `cr""` is lexed as `cr ""`, and `cr#""#` is lexed as `cr #""#` (which is non-grammatical).
505505
506506
#### Examples for C string and raw C string literals
507507

@@ -791,7 +791,7 @@ It is an error to use the RESERVED_RAW_LIFETIME token `'r#_` in order to avoid c
791791

792792
r[lex.token.life.raw.edition2021]
793793
> [!EDITION-2021]
794-
> Raw lifetimes are accepted in the 2021 edition or later. In earlier additions the token `'r#lt` is lexed as `'r # lt`.
794+
> Raw lifetimes are accepted in the 2021 edition or later. In earlier editions the token `'r#lt` is lexed as `'r # lt`.
795795
796796
r[lex.token.punct]
797797
## Punctuation

0 commit comments

Comments
 (0)