Corrected the statement that rune is an alias for uint32 to say int32

This commit is contained in:
James Baxter 2014-08-19 12:06:02 +01:00
parent cdd139136c
commit d7ead48d1f

View File

@ -78,7 +78,7 @@ func learnTypes() {
can include line breaks.` // Same string type.
// Non-ASCII literal. Go source is UTF-8.
g := 'Σ' // rune type, an alias for uint32, holds a unicode code point.
g := 'Σ' // rune type, an alias for int32, holds a unicode code point.
f := 3.14195 // float64, an IEEE-754 64-bit floating point number.
c := 3 + 4i // complex128, represented internally with two float64's.