mirror of
https://github.com/golang/go
synced 2024-11-25 09:07:58 -07:00
fmt: fix minor documentation nits
R=r, rsc CC=golang-dev https://golang.org/cl/4556041
This commit is contained in:
parent
975ba88e0e
commit
bda36cf3ab
@ -27,7 +27,7 @@
|
|||||||
%o base 8
|
%o base 8
|
||||||
%x base 16, with lower-case letters for a-f
|
%x base 16, with lower-case letters for a-f
|
||||||
%X base 16, with upper-case letters for A-F
|
%X base 16, with upper-case letters for A-F
|
||||||
%U Unicode format: U+1234; same as "U+%0.4X"
|
%U Unicode format: U+1234; same as "U+%04X"
|
||||||
Floating-point and complex constituents:
|
Floating-point and complex constituents:
|
||||||
%b decimalless scientific notation with exponent a power
|
%b decimalless scientific notation with exponent a power
|
||||||
of two, in the manner of strconv.Ftoa32, e.g. -123456p-78
|
of two, in the manner of strconv.Ftoa32, e.g. -123456p-78
|
||||||
|
@ -41,7 +41,7 @@ type State interface {
|
|||||||
Precision() (prec int, ok bool)
|
Precision() (prec int, ok bool)
|
||||||
|
|
||||||
// Flag returns whether the flag c, a character, has been set.
|
// Flag returns whether the flag c, a character, has been set.
|
||||||
Flag(int) bool
|
Flag(c int) bool
|
||||||
}
|
}
|
||||||
|
|
||||||
// Formatter is the interface implemented by values with a custom formatter.
|
// Formatter is the interface implemented by values with a custom formatter.
|
||||||
|
Loading…
Reference in New Issue
Block a user