]> Cypherpunks repositories - gostls13.git/commitdiff
doc: float -> float64 in Effective Go template
authorAndrew Gerrand <adg@golang.org>
Mon, 9 Jan 2012 01:48:42 +0000 (12:48 +1100)
committerAndrew Gerrand <adg@golang.org>
Mon, 9 Jan 2012 01:48:42 +0000 (12:48 +1100)
R=r, dsymonds
CC=golang-dev
https://golang.org/cl/5530047

doc/effective_go.tmpl

index 21b3b22df677aac96543a3fe421e374215e99dcf..e3d311eea210d5d1ab29f91550a0e900a0e18a7b 100644 (file)
@@ -1490,7 +1490,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" }