Skip to content

Commit caf93ba

Browse files
committed
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.
1 parent a2bf473 commit caf93ba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

text/0000-gen-fn.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ Iterators created with `gen` return `None` once they `return` (implicitly at the
8585

8686
Starting in the 2024 edition, `gen` is a keyword that cannot be used for naming any items or bindings.
8787
This means during the migration to the 2024 edition, all variables, functions, modules, types, etc. named `gen` must be renamed
88-
or be referred to via `r#gen`.
88+
or be referred to via `k#gen`.
8989

9090
## Returning/finishing an iterator
9191

0 commit comments

Comments
 (0)