mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2024-12-23 09:41:36 +00:00
Corrected the statement that rune is an alias for uint32 to say int32
This commit is contained in:
parent
cdd139136c
commit
d7ead48d1f
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user