]> Cypherpunks repositories - gostls13.git/commitdiff
fmt: tweak the doc for %U.
authorRob Pike <r@golang.org>
Sat, 23 Apr 2011 18:25:27 +0000 (11:25 -0700)
committerRob Pike <r@golang.org>
Sat, 23 Apr 2011 18:25:27 +0000 (11:25 -0700)
Fixes #1727.

R=rsc
CC=golang-dev
https://golang.org/cl/4437069

src/pkg/fmt/doc.go

index 77ee62bb1dda69b6d2b8c6df1efe08daad595476..e4d4f184427fd2ca7c03acf736986508fdb3bdf5 100644 (file)
@@ -27,7 +27,7 @@
                %o      base 8
                %x      base 16, with lower-case letters for a-f
                %X      base 16, with upper-case letters for A-F
-               %U      Unicode format: U+1234; same as "U+%x" with 4 digits default
+               %U      Unicode format: U+1234; same as "U+%0.4X"
        Floating-point and complex constituents:
                %b      decimalless scientific notation with exponent a power
                        of two, in the manner of strconv.Ftoa32, e.g. -123456p-78