summaryrefslogtreecommitdiffhomepage
path: root/zh-cn
diff options
context:
space:
mode:
authorJames Baxter <jebaxter@hotmail.co.uk>2014-08-19 12:56:27 +0100
committerJames Baxter <jebaxter@hotmail.co.uk>2014-08-19 12:56:27 +0100
commit4b5cbc91eb40d678c12d5bbb1d9fdbda9d22923d (patch)
tree387c079d3573a4869cf7fde80936ca7838b003a7 /zh-cn
parentd7ead48d1fa7c6ffb32aeeb6f289bf859a6bbef8 (diff)
Fixed the statement that rune is an alias for uint32 in the translations
Diffstat (limited to 'zh-cn')
-rw-r--r--zh-cn/go-cn.html.markdown2
1 files changed, 1 insertions, 1 deletions
diff --git a/zh-cn/go-cn.html.markdown b/zh-cn/go-cn.html.markdown
index 4a87dc21..9f6a8c15 100644
--- a/zh-cn/go-cn.html.markdown
+++ b/zh-cn/go-cn.html.markdown
@@ -68,7 +68,7 @@ func learnTypes() {
can include line breaks.` // 同样是String类型
// 非ascii字符。Go使用UTF-8编码。
- g := 'Σ' // rune类型,uint32的别名,使用UTF-8编码
+ g := 'Σ' // rune类型,int32的别名,使用UTF-8编码
f := 3.14195 // float64类型,IEEE-754 64位浮点数
c := 3 + 4i // complex128类型,内部使用两个float64表示