1
0
mirror of https://github.com/golang/go synced 2024-11-21 14:24:44 -07:00

go spec: minor fix, to match conversion rules 4 and 5

R=rsc
CC=golang-dev
https://golang.org/cl/1270042
This commit is contained in:
Robert Griesemer 2010-05-24 21:25:01 -07:00
parent 0c662f60a5
commit c7e03a32b3

View 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>