]> Cypherpunks repositories - gostls13.git/commitdiff
doc: float -> float64 in Effective Go
authorJeff R. Allen <jra@nella.org>
Mon, 9 Jan 2012 00:53:20 +0000 (11:53 +1100)
committerAndrew Gerrand <adg@golang.org>
Mon, 9 Jan 2012 00:53:20 +0000 (11:53 +1100)
R=golang-dev
CC=golang-dev
https://golang.org/cl/5531046

doc/effective_go.html

index 43b18e6179aacbe4863eadd2eb6f876d957cdb2e..fdf8aa101d4bdc27f6b4f4365063f60b4529e534 100644 (file)
@@ -1494,7 +1494,7 @@ format <code>%#v</code> prints the value in full Go syntax.
 <pre>
 type T struct {
     a int
-    b float
+    b float64
     c string
 }
 t := &amp;T{ 7, -2.35, "abc\tdef" }