]> Cypherpunks repositories - gostls13.git/commitdiff
go spec: fix inaccuracy in type identity definition
authorRobert Griesemer <gri@golang.org>
Tue, 13 Mar 2012 03:27:27 +0000 (20:27 -0700)
committerRobert Griesemer <gri@golang.org>
Tue, 13 Mar 2012 03:27:27 +0000 (20:27 -0700)
Pointed out by Steven Blenkinsop (steven099@gmail.com)
via golang-nuts.

R=r, dsymonds
CC=golang-dev
https://golang.org/cl/5783087

doc/go_spec.html

index 04b9b244cef56a347138f33e76c225a29e3af9c2..808255a38a87a2a3d101b75a9d138a817e24e619 100644 (file)
@@ -1,6 +1,6 @@
 <!--{
        "Title": "The Go Programming Language Specification",
-       "Subtitle": "Version of March 7, 2012",
+       "Subtitle": "Version of March 12, 2012",
        "Path": "/ref/spec"
 }-->
 
@@ -1321,7 +1321,7 @@ Two types are either <i>identical</i> or <i>different</i>.
 
 <p>
 Two named types are identical if their type names originate in the same
-type <a href="#Declarations_and_scope">declaration</a>.
+<a href="#Type_declarations">TypeSpec</a>.
 A named and an unnamed type are always different. Two unnamed types are identical
 if the corresponding type literals are identical, that is, if they have the same
 literal structure and corresponding components have identical types. In detail: