]> Cypherpunks repositories - gostls13.git/commitdiff
tweak comment for %#X
authorRob Pike <r@golang.org>
Mon, 12 Jul 2010 23:57:11 +0000 (16:57 -0700)
committerRob Pike <r@golang.org>
Mon, 12 Jul 2010 23:57:11 +0000 (16:57 -0700)
Fixes #904.

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

src/pkg/fmt/print.go

index 20bfa9107f5b2cef92a521006d39466d22634a8a..e5066fa9156806499bc53464d96d83695bc74967 100644 (file)
@@ -53,7 +53,7 @@
                +       always print a sign for numeric values
                -       pad with spaces on the right rather than the left (left-justify the field)
                #       alternate format: add leading 0 for octal (%#o), 0x for hex (%#x);
-                       suppress 0x for %p (%#p);
+                       0X for hex (%#X); suppress 0x for %p (%#p);
                        print a raw (backquoted) string if possible for %q (%#q)
                ' '     (space) leave a space for elided sign in numbers (% d);
                        put spaces between bytes printing strings or slices in hex (% x)