mirror of
https://github.com/golang/go
synced 2024-11-12 06:30:21 -07:00
fmt: remove extra space in too few arguments example
Change-Id: Iae4855c52c4da9755277251d22121226507ea26a Reviewed-on: https://go-review.googlesource.com/23074 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
This commit is contained in:
parent
7af2ce3f15
commit
8f48efb31c
@ -210,7 +210,7 @@
|
||||
Too many arguments: %!(EXTRA type=value)
|
||||
Printf("hi", "guys"): hi%!(EXTRA string=guys)
|
||||
Too few arguments: %!verb(MISSING)
|
||||
Printf("hi%d"): hi %!d(MISSING)
|
||||
Printf("hi%d"): hi%!d(MISSING)
|
||||
Non-int for width or precision: %!(BADWIDTH) or %!(BADPREC)
|
||||
Printf("%*s", 4.5, "hi"): %!(BADWIDTH)hi
|
||||
Printf("%.*s", 4.5, "hi"): %!(BADPREC)hi
|
||||
|
Loading…
Reference in New Issue
Block a user