Skip to content

Commit

Permalink
fix typo(1.8->1.18)
Browse files Browse the repository at this point in the history
  • Loading branch information
mazrean committed Mar 18, 2022
1 parent 4ccd8bb commit b0ffdd8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -669,7 +669,7 @@ fmt.Printf("%#v", c)
# Generics
[Identifiers](#identifiers) [Keywords](#keywords) [Operators](#operators) [Braces](#braces) [Parentheses](#parentheses) [Control flow](#control-flow) [Collections](#collections) [Literals](#literals) [Comments](#comments) **Generics** [Helpers](#helpers) [Misc](#misc) [File](#file)

It is hoped that with the introduction of generics with Go 1.8, the need to generate code
It is hoped that with the introduction of generics with Go 1.18, the need to generate code
will be reduced. However, for the sake of completeness, we now support generics including
the `any` and `comparable` predeclared identifiers, and the `Types` and `Union` lists. To
emit the approximation (`~`) token, use `Op("~")`.
Expand Down
2 changes: 1 addition & 1 deletion README.md.tpl
Expand Up @@ -302,7 +302,7 @@ render rune and byte literals.
# Generics
[Identifiers](#identifiers) [Keywords](#keywords) [Operators](#operators) [Braces](#braces) [Parentheses](#parentheses) [Control flow](#control-flow) [Collections](#collections) [Literals](#literals) [Comments](#comments) **Generics** [Helpers](#helpers) [Misc](#misc) [File](#file)

It is hoped that with the introduction of generics with Go 1.8, the need to generate code
It is hoped that with the introduction of generics with Go 1.18, the need to generate code
will be reduced. However, for the sake of completeness, we now support generics including
the `any` and `comparable` predeclared identifiers, and the `Types` and `Union` lists. To
emit the approximation (`~`) token, use `Op("~")`.
Expand Down

0 comments on commit b0ffdd8

Please sign in to comment.