]> Cypherpunks repositories - gostls13.git/commitdiff
spec: rune is now an alias for int32
authorRuss Cox <rsc@golang.org>
Fri, 9 Dec 2011 05:11:43 +0000 (00:11 -0500)
committerRuss Cox <rsc@golang.org>
Fri, 9 Dec 2011 05:11:43 +0000 (00:11 -0500)
R=golang-dev, dsymonds, r
CC=golang-dev
https://golang.org/cl/5467048

doc/go_spec.html

index 673b36d3e01f28a910207836b60a4c3c46ec6ada..c7a1521c74a4698c0ca3e650bb5fd90db0b4aac6 100644 (file)
@@ -695,7 +695,7 @@ complex64   the set of all complex numbers with float32 real and imaginary parts
 complex128  the set of all complex numbers with float64 real and imaginary parts
 
 byte        alias for uint8
-rune        alias for int (will change to int32 in the future)
+rune        alias for int32
 </pre>
 
 <p>
@@ -716,8 +716,7 @@ uintptr  an unsigned integer large enough to store the uninterpreted bits of a p
 <p>
 To avoid portability issues all numeric types are distinct except
 <code>byte</code>, which is an alias for <code>uint8</code>, and
-<code>rune</code>, which is an alias for <code>int</code> (to become
-<code>int32</code> in a later version of Go).
+<code>rune</code>, which is an alias for <code>int32</code>.
 Conversions
 are required when different numeric types are mixed in an expression
 or assignment. For instance, <code>int32</code> and <code>int</code>