doc/go_spec.html: update type identity example

In the Type identity section, the example provides various types as givens.

The example refers to the type *T5, but it is not provided in the givens.

I am assuming this was a typo, and was meant to refer to *A1 or *B1.
*B1 seems to be in alignment with the rest of the provided examples.

Change-Id: I554319ee8bca185c3643559321417e8b2a544ba0
GitHub-Last-Rev: e80560d32a
GitHub-Pull-Request: golang/go#52143
Reviewed-on: https://go-review.googlesource.com/c/go/+/398075
Reviewed-by: Robert Griesemer <gri@golang.org>
Trust: Ian Lance Taylor <iant@golang.org>
This commit is contained in:
Jared Horvat 2022-04-04 18:07:01 +00:00 committed by Ian Lance Taylor
parent 5c4ed73f1c
commit 0b3cb1a56c
1 changed files with 1 additions and 1 deletions

View File

@ -1880,7 +1880,7 @@ A4, func(int, float64) *[]string, and A5
B0 and C0 B0 and C0
D0[int, string] and E0 D0[int, string] and E0
[]int and []int []int and []int
struct{ a, b *T5 } and struct{ a, b *T5 } struct{ a, b *B5 } and struct{ a, b *B5 }
func(x int, y float64) *[]string, func(int, float64) (result *[]string), and A5 func(x int, y float64) *[]string, func(int, float64) (result *[]string), and A5
</pre> </pre>