]> Cypherpunks.ru repositories - gostls13.git/commitdiff
doc/go1.21: fix typo
authorchressie <chressie@google.com>
Mon, 12 Jun 2023 13:09:21 +0000 (15:09 +0200)
committerChressie Himpel <chressie@google.com>
Mon, 12 Jun 2023 15:53:08 +0000 (15:53 +0000)
Change-Id: Ie0af0ff135ac14d35476d738a16f04e9c3eebcd2
Reviewed-on: https://go-review.googlesource.com/c/go/+/502475
TryBot-Bypass: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Chressie Himpel <chressie@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
doc/go1.21.html

index 3c1d63467b6ecfa7dba0745bc5cf9a52b5607218..3edbc33f3664fbc4716703354901af64803a4221 100644 (file)
@@ -128,7 +128,7 @@ Do not send CLs removing the interior tags from such phrases.
   </li>
   <li><!-- https://go.dev/issue/59750 -->
     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,