From: Russ Cox Date: Wed, 19 Jan 2011 18:35:45 +0000 (-0500) Subject: fmt: document %X of string, []byte X-Git-Tag: weekly.2011-01-19~29 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=61a4e9812e11efe3ea41142fc49e331c333a333e;p=gostls13.git fmt: document %X of string, []byte suggested by Mark Summerfield R=r CC=golang-dev https://golang.org/cl/4018042 --- diff --git a/src/pkg/fmt/doc.go b/src/pkg/fmt/doc.go index f3067eac9f..191bf68b13 100644 --- a/src/pkg/fmt/doc.go +++ b/src/pkg/fmt/doc.go @@ -36,7 +36,8 @@ String and slice of bytes: %s the uninterpreted bytes of the string or slice %q a double-quoted string safely escaped with Go syntax - %x base 16 notation with two characters per byte + %x base 16, lower-case, two characters per byte + %X base 16, upper-case, two characters per byte Pointer: %p base 16 notation, with leading 0x