From: chressie Date: Mon, 12 Jun 2023 13:09:21 +0000 (+0200) Subject: doc/go1.21: fix typo X-Git-Tag: go1.21rc1~35 X-Git-Url: http://www.git.cypherpunks.ru/?a=commitdiff_plain;h=0fcc70ecd56e3b5c214ddaee4065ea1139ae16b5;p=gostls13.git doc/go1.21: fix typo Change-Id: Ie0af0ff135ac14d35476d738a16f04e9c3eebcd2 Reviewed-on: https://go-review.googlesource.com/c/go/+/502475 TryBot-Bypass: Dmitri Shuralyov Reviewed-by: Dmitri Shuralyov Reviewed-by: Chressie Himpel Reviewed-by: Dmitri Shuralyov --- diff --git a/doc/go1.21.html b/doc/go1.21.html index 3c1d63467b..3edbc33f36 100644 --- a/doc/go1.21.html +++ b/doc/go1.21.html @@ -128,7 +128,7 @@ Do not send CLs removing the interior tags from such phrases.
  • Type inference is now precise when matching corresponding types in assignments: - component types (such as the the elements of slices, or the parameter types in function signatures) + component types (such as the elements of slices, or the parameter types in function signatures) must be identical (given suitable type arguments) to match, otherwise inference fails. This change produces more accurate error messages: where in the past type inference may have succeeded incorrectly and lead to an invalid assignment,