1
0
mirror of https://github.com/golang/go synced 2024-11-13 17:50:23 -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:
Mohit Agarwal 2016-05-13 02:05:48 +05:30 committed by Brad Fitzpatrick
parent 7af2ce3f15
commit 8f48efb31c

View File

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