From 82fc28c0f5a5af9fd18c0c49a65aa6a44ede1aa3 Mon Sep 17 00:00:00 2001 From: Robert Griesemer Date: Mon, 12 Mar 2012 20:27:27 -0700 Subject: [PATCH] go spec: fix inaccuracy in type identity definition 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 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/go_spec.html b/doc/go_spec.html index 04b9b244cef..808255a38a8 100644 --- a/doc/go_spec.html +++ b/doc/go_spec.html @@ -1,6 +1,6 @@ @@ -1321,7 +1321,7 @@ Two types are either identical or different.

Two named types are identical if their type names originate in the same -type declaration. +TypeSpec. 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: