From 15e6ce23519cd57d5177a31e1fe533d210126630 Mon Sep 17 00:00:00 2001
From: Rob Pike
Date: Thu, 15 Aug 2013 13:15:55 +1000
Subject: [PATCH] go_spec.html: clarify that tags are part of struct type
identity One sentence says they're ignored, another says they take part. Fix
the first.
R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/12741046
---
doc/go_spec.html | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/doc/go_spec.html b/doc/go_spec.html
index b13ed7dd685..ba7b3644d9e 100644
--- a/doc/go_spec.html
+++ b/doc/go_spec.html
@@ -1,6 +1,6 @@
@@ -1017,6 +1017,7 @@ A field declaration may be followed by an optional string literal tag,
which becomes an attribute for all the fields in the corresponding
field declaration. The tags are made
visible through a reflection interface
+and take part in type identity for structs
but are otherwise ignored.
@@ -2692,7 +2693,7 @@ and the result of the slice operation is a slice with the same element type as t
If the sliced operand of a valid slice expression is a nil
slice, the result
is a nil
slice.
-
+
Type assertions