diff options
| author | Russ Cox <rsc@golang.org> | 2011-01-19 13:35:45 -0500 |
|---|---|---|
| committer | Russ Cox <rsc@golang.org> | 2011-01-19 13:35:45 -0500 |
| commit | 61a4e9812e11efe3ea41142fc49e331c333a333e (patch) | |
| tree | a334a8a223ccba1e70c69ffbe7981949648eb56c /src/pkg | |
| parent | dfc5bb5ff626b4d2baa81db0d91cc220cb4dd927 (diff) | |
| download | go-61a4e9812e11efe3ea41142fc49e331c333a333e.tar.xz | |
fmt: document %X of string, []byte
suggested by Mark Summerfield
R=r
CC=golang-dev
https://golang.org/cl/4018042
Diffstat (limited to 'src/pkg')
| -rw-r--r-- | src/pkg/fmt/doc.go | 3 |
1 files changed, 2 insertions, 1 deletions
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 |
