1
0
mirror of https://github.com/golang/go synced 2024-11-21 22:24:40 -07:00

fmt: tweak the doc for %U.

Fixes #1727.

R=rsc
CC=golang-dev
https://golang.org/cl/4437069
This commit is contained in:
Rob Pike 2011-04-23 11:25:27 -07:00
parent c0a895fc0a
commit f3113ee9b9

View File

@ -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