]> Cypherpunks repositories - gostls13.git/commitdiff
Clarify that conversions to complex are OK.
authorIan Lance Taylor <iant@golang.org>
Mon, 8 Mar 2010 21:45:03 +0000 (13:45 -0800)
committerIan Lance Taylor <iant@golang.org>
Mon, 8 Mar 2010 21:45:03 +0000 (13:45 -0800)
R=r
CC=golang-dev
https://golang.org/cl/296042

doc/go_spec.html

index d95d6492592dd15887aaa0042bd6e2631fc83d1e..0dc1a836ec4db1234f93af7e05eaaab7cf2cad99 100644 (file)
@@ -3262,7 +3262,7 @@ When converting a floating-point number to an integer, the fraction is discarded
 </li>
 <li>
 A value of complex type may be converted to a different complex type,
-but there is no conversion between complex and any other type.
+but there is no conversion from complex to any other type.
 <li>
 When converting a number to a floating-point or complex type,
 the result value is rounded