]> Cypherpunks repositories - gostls13.git/commitdiff
go spec: minor fix, to match conversion rules 4 and 5
authorRobert Griesemer <gri@golang.org>
Tue, 25 May 2010 04:25:01 +0000 (21:25 -0700)
committerRobert Griesemer <gri@golang.org>
Tue, 25 May 2010 04:25:01 +0000 (21:25 -0700)
R=rsc
CC=golang-dev
https://golang.org/cl/1270042

doc/go_spec.html

index 8c958b159d99283f82515e4da663710592ee4783..d56efcc2bc21b8a4d3e9a4eeeb9a45f23a88be12 100644 (file)
@@ -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>