From: Mohit Agarwal Date: Thu, 12 May 2016 20:35:48 +0000 (+0530) Subject: fmt: remove extra space in too few arguments example X-Git-Tag: go1.7beta1~229 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=8f48efb31c7cdddeec7d4221174254466b0891dd;p=gostls13.git fmt: remove extra space in too few arguments example Change-Id: Iae4855c52c4da9755277251d22121226507ea26a Reviewed-on: https://go-review.googlesource.com/23074 Reviewed-by: Brad Fitzpatrick --- diff --git a/src/fmt/doc.go b/src/fmt/doc.go index fefc10c19d..c312914b44 100644 --- a/src/fmt/doc.go +++ b/src/fmt/doc.go @@ -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