Skip to content

Commit

Permalink
Corrected the statement that rune is an alias for uint32 to say int32
Browse files Browse the repository at this point in the history
  • Loading branch information
jameseb7 committed Aug 19, 2014
1 parent cdd1391 commit d7ead48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion go.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit d7ead48

Please sign in to comment.