]> Cypherpunks repositories - gostls13.git/commitdiff
doc: fix comment type typo
authorBrad Fitzpatrick <bradfitz@golang.org>
Mon, 22 Dec 2014 15:58:26 +0000 (07:58 -0800)
committerBrad Fitzpatrick <bradfitz@golang.org>
Mon, 22 Dec 2014 18:00:07 +0000 (18:00 +0000)
Fixes #9418

Change-Id: I044fa1d26d972f012f00388a84c4d0f143cf4f63
Reviewed-on: https://go-review.googlesource.com/1970
Reviewed-by: Robert Griesemer <gri@golang.org>
doc/go_spec.html

index 3b67f307f6759b1baa770057cb580a9ae0130c52..fc8242ca53774660b285e1328569f1c5573152be 100644 (file)
@@ -1,6 +1,6 @@
 <!--{
        "Title": "The Go Programming Language Specification",
-       "Subtitle": "Version of November 11, 2014",
+       "Subtitle": "Version of December 22, 2014",
        "Path": "/ref/spec"
 }-->
 
@@ -1981,7 +1981,7 @@ with no explicit type.
 </p>
 
 <pre>
-var d = math.Sin(0.5)  // d is int64
+var d = math.Sin(0.5)  // d is float64
 var i = 42             // i is int
 var t, ok = x.(T)      // t is T, ok is bool
 var n = nil            // illegal