]> Cypherpunks repositories - gostls13.git/commitdiff
fmt: fix a typo
authorOling Cat <olingcat@gmail.com>
Mon, 17 Dec 2012 07:13:12 +0000 (18:13 +1100)
committerDavid Symonds <dsymonds@golang.org>
Mon, 17 Dec 2012 07:13:12 +0000 (18:13 +1100)
R=golang-dev, dsymonds
CC=golang-dev
https://golang.org/cl/6937065

src/pkg/fmt/format.go

index d1167ebbf946d5c20a2245752c406305401196af..c3d7605fe8e5fbc140c9f7c704c74d5edd13c930 100644 (file)
@@ -396,7 +396,7 @@ func (f *fmt) fmt_f64(v float64) { f.formatFloat(v, 'f', doPrec(f, 6), 64) }
 // fmt_g64 formats a float64 in the 'f' or 'e' form according to size.
 func (f *fmt) fmt_g64(v float64) { f.formatFloat(v, 'g', doPrec(f, -1), 64) }
 
-// fmt_g64 formats a float64 in the 'f' or 'E' form according to size.
+// fmt_G64 formats a float64 in the 'f' or 'E' form according to size.
 func (f *fmt) fmt_G64(v float64) { f.formatFloat(v, 'G', doPrec(f, -1), 64) }
 
 // fmt_fb64 formats a float64 in the form -123p3 (exponent is power of 2).