Fix `k#gen`

The language about how to refer to the `gen` keyword in older editions
was changed in a recent commit from `k#gen` to `r#gen`.  This was
probably a search/replace error.  Let's fix that.
This commit is contained in:
Travis Cross 2024-03-15 01:52:26 +00:00
parent a2bf47319c
commit caf93bad67
1 changed files with 1 additions and 1 deletions

View File

@ -85,7 +85,7 @@ Iterators created with `gen` return `None` once they `return` (implicitly at the
Starting in the 2024 edition, `gen` is a keyword that cannot be used for naming any items or bindings.
This means during the migration to the 2024 edition, all variables, functions, modules, types, etc. named `gen` must be renamed
or be referred to via `r#gen`.
or be referred to via `k#gen`.
## Returning/finishing an iterator