]> Cypherpunks repositories - gostls13.git/commitdiff
doc/go_spec: fix typo
authorShenghou Ma <minux@golang.org>
Fri, 26 Dec 2014 07:50:33 +0000 (02:50 -0500)
committerMinux Ma <minux@golang.org>
Fri, 26 Dec 2014 08:16:29 +0000 (08:16 +0000)
Fixes #9445

Change-Id: If7abd4d4d41cdfd5cf677f03533c930c8b965a01
Reviewed-on: https://go-review.googlesource.com/2128
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
doc/go_spec.html

index fc8242ca53774660b285e1328569f1c5573152be..5a1b291433b1a5eaee48c74d1caef42aaaf599e8 100644 (file)
@@ -1,6 +1,6 @@
 <!--{
        "Title": "The Go Programming Language Specification",
-       "Subtitle": "Version of December 22, 2014",
+       "Subtitle": "Version of December 26, 2014",
        "Path": "/ref/spec"
 }-->
 
@@ -5455,7 +5455,7 @@ const (
        c2 = len([10]float64{2})         // [10]float64{2} contains no function calls
        c3 = len([10]float64{c1})        // [10]float64{c1} contains no function calls
        c4 = len([10]float64{imag(2i)})  // imag(2i) is a constant and no function call is issued
-       c5 = len([10]float64{imag(z)})   // invalid: imag(x) is a (non-constant) function call
+       c5 = len([10]float64{imag(z)})   // invalid: imag(z) is a (non-constant) function call
 )
 var z complex128
 </pre>