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:
parent
0c662f60a5
commit
c7e03a32b3
@ -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>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user