aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Griesemer <gri@golang.org>2010-05-24 21:25:01 -0700
committerRobert Griesemer <gri@golang.org>2010-05-24 21:25:01 -0700
commitc7e03a32b32ba981dca5460d905be8da8972a0e2 (patch)
treeb6d090a4955b26f35fb8d877278addb39a3edd28
parent0c662f60a5ef82a92b7bea26788a14f74b12fb52 (diff)
downloadgo-c7e03a32b32ba981dca5460d905be8da8972a0e2.tar.gz
go-c7e03a32b32ba981dca5460d905be8da8972a0e2.zip
go spec: minor fix, to match conversion rules 4 and 5
R=rsc CC=golang-dev https://golang.org/cl/1270042
-rw-r--r--doc/go_spec.html3
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/go_spec.html b/doc/go_spec.html
index 8c958b159d..d56efcc2bc 100644
--- a/doc/go_spec.html
+++ b/doc/go_spec.html
@@ -3278,7 +3278,8 @@ of <code>x</code> and thus has no run-time cost.
</p>
<p>
-Specific rules apply to conversions where <code>T</code> is a numeric or string type.
+Specific rules apply to conversions where <code>T</code> is a
+numeric or string type, or where <code>x</code> is of string type.
These conversions may change the representation of a value and incur a run-time cost.
</p>