diff options
| author | Rob Pike <r@golang.org> | 2016-10-16 11:25:37 -0700 |
|---|---|---|
| committer | Rob Pike <r@golang.org> | 2016-10-18 06:14:31 +0000 |
| commit | ac1108bdcbd316aa3ffc0bf70d50caa35e7b785f (patch) | |
| tree | 86665441c25a6fbb7ad5ed09e094fa26edbb5510 /src | |
| parent | f6cdfc7987d9f3ee7380b3e6f52e433608f342c5 (diff) | |
| download | go-ac1108bdcbd316aa3ffc0bf70d50caa35e7b785f.tar.xz | |
fmt: fix documention for %#v on uints
It's the same as %#x not %x.
Just a documentation change; tests already cover it.
Fixes #17322
Change-Id: Ia9db229f781f9042ac5c0bb824e3d7a26fb74ec5
Reviewed-on: https://go-review.googlesource.com/31254
Reviewed-by: Russ Cox <rsc@golang.org>
Diffstat (limited to 'src')
| -rw-r--r-- | src/fmt/doc.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fmt/doc.go b/src/fmt/doc.go index 8b0c7d10af..f8ae4e72f9 100644 --- a/src/fmt/doc.go +++ b/src/fmt/doc.go @@ -51,7 +51,7 @@ The default format for %v is: bool: %t int, int8 etc.: %d - uint, uint8 etc.: %d, %x if printed with %#v + uint, uint8 etc.: %d, %#x if printed with %#v float32, complex64, etc: %g string: %s chan: %p |
