From: Rob Pike Date: Sat, 23 Apr 2011 18:25:27 +0000 (-0700) Subject: fmt: tweak the doc for %U. X-Git-Tag: weekly.2011-04-27~51 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=f3113ee9b91712d49400589ff2b2c5f7514ffc85;p=gostls13.git fmt: tweak the doc for %U. Fixes #1727. R=rsc CC=golang-dev https://golang.org/cl/4437069 --- diff --git a/src/pkg/fmt/doc.go b/src/pkg/fmt/doc.go index 77ee62bb1d..e4d4f18442 100644 --- a/src/pkg/fmt/doc.go +++ b/src/pkg/fmt/doc.go @@ -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