1
0
mirror of https://github.com/golang/go synced 2024-11-11 22:50:22 -07:00

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>
This commit is contained in:
Robert Griesemer 2022-12-15 08:15:06 -08:00 committed by Gopher Robot
parent ea14d1b6e1
commit 357ea85892

View 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