]> Cypherpunks repositories - gostls13.git/commitdiff
spec: fix typo
authorRobert Griesemer <gri@golang.org>
Thu, 15 Dec 2022 16:15:06 +0000 (08:15 -0800)
committerGopher Robot <gobot@golang.org>
Thu, 15 Dec 2022 16:18:42 +0000 (16:18 +0000)
Fixes #57323.

Change-Id: I77d3d747aa4746bb9a8cca0c0500ff8fa6ae33a3
Reviewed-on: https://go-review.googlesource.com/c/go/+/457915
Reviewed-by: Robert Griesemer <gri@google.com>
TryBot-Bypass: Robert Griesemer <gri@google.com>
Auto-Submit: Robert Griesemer <gri@google.com>
Reviewed-by: Than McIntosh <thanm@google.com>
doc/go_spec.html

index d812860f4b431dbd24b23e85917704d2402d082d..f93f2ab9f17f629e0245e0b38157a954f7d19eb3 100644 (file)
@@ -1,6 +1,6 @@
 <!--{
        "Title": "The Go Programming Language Specification",
-       "Subtitle": "Version of December 14, 2022",
+       "Subtitle": "Version of December 15, 2022",
        "Path": "/ref/spec"
 }-->
 
@@ -951,7 +951,7 @@ if those containing types are only array or struct types.
 </p>
 
 <pre>
-// valid array types
+// invalid array types
 type (
        T1 [10]T1                 // element type of T1 is T1
        T2 [10]struct{ f T2 }     // T2 contains T2 as component of a struct