aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrancesc Campoy <campoy@golang.org>2014-08-26 09:18:59 -0700
committerFrancesc Campoy <campoy@golang.org>2014-08-26 09:18:59 -0700
commit0f4f2b91480c6f15a10e5bc59b98d06a008b3056 (patch)
treea42d89f4852bd42c3889eb72c1e7ddcb762f35fc
parentf6ff936b5658c179ebcfdcd53609c7f675c70a76 (diff)
go.blog: fix typo on constants blog post
LGTM=adg R=adg, r CC=golang-codereviews https://golang.org/cl/133910043
-rw-r--r--content/constants.article2
1 files changed, 1 insertions, 1 deletions
diff --git a/content/constants.article b/content/constants.article
index a7f565f..6393204 100644
--- a/content/constants.article
+++ b/content/constants.article
@@ -128,7 +128,7 @@ or
m = hello
-because, unlike the typed constants `typedHello` and `myStringHello`, the untyped constants `"Hello, 世界"` and `hello` _have_no_type_.
+because, unlike the typed constants `typedHello` and `myStringHello`, the untyped constants `"Hello,`世界"` and `hello` _have_no_type_.
Assigning them to a variable of any type compatible with strings works without error.
These untyped string constants are strings, of course, so they can only be used where a string is allowed, but they do not have _type_ `string`.