From b0ffdd8a64e35eb7489d074b953bd7e01ceb2042 Mon Sep 17 00:00:00 2001 From: mazrean Date: Fri, 18 Mar 2022 14:56:03 +0900 Subject: [PATCH] fix typo(1.8->1.18) --- README.md | 2 +- README.md.tpl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 71c4ab1..9b13313 100644 --- a/README.md +++ b/README.md @@ -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("~")`. diff --git a/README.md.tpl b/README.md.tpl index 368398f..0f936fc 100644 --- a/README.md.tpl +++ b/README.md.tpl @@ -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("~")`.