mirror of
https://github.com/golang/go
synced 2024-11-19 22:04:44 -07:00
tweak comment for %#X
Fixes #904. R=rsc CC=golang-dev https://golang.org/cl/1803043
This commit is contained in:
parent
36560d2b4a
commit
18d78dd7b1
@ -53,7 +53,7 @@
|
|||||||
+ always print a sign for numeric values
|
+ always print a sign for numeric values
|
||||||
- pad with spaces on the right rather than the left (left-justify the field)
|
- pad with spaces on the right rather than the left (left-justify the field)
|
||||||
# alternate format: add leading 0 for octal (%#o), 0x for hex (%#x);
|
# alternate format: add leading 0 for octal (%#o), 0x for hex (%#x);
|
||||||
suppress 0x for %p (%#p);
|
0X for hex (%#X); suppress 0x for %p (%#p);
|
||||||
print a raw (backquoted) string if possible for %q (%#q)
|
print a raw (backquoted) string if possible for %q (%#q)
|
||||||
' ' (space) leave a space for elided sign in numbers (% d);
|
' ' (space) leave a space for elided sign in numbers (% d);
|
||||||
put spaces between bytes printing strings or slices in hex (% x)
|
put spaces between bytes printing strings or slices in hex (% x)
|
||||||
|
Loading…
Reference in New Issue
Block a user