summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorRobert Griesemer <gri@golang.org>2022-12-15 08:15:06 -0800
committerGopher Robot <gobot@golang.org>2022-12-15 16:18:42 +0000
commit357ea85892eea7ef8cf0f66c8a35b3912a90e219 (patch)
tree6896e03a468d4f11d74b9caf2eed67db2864a435 /doc
parentea14d1b6e1167159dfc8408073ef411c3cf1d7e0 (diff)
downloadgo-git-357ea85892eea7ef8cf0f66c8a35b3912a90e219.tar.gz
spec: fix typo
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>
Diffstat (limited to 'doc')
-rw-r--r--doc/go_spec.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/go_spec.html b/doc/go_spec.html
index d812860f4b..f93f2ab9f1 100644
--- a/doc/go_spec.html
+++ b/doc/go_spec.html
@@ -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