]> Cypherpunks repositories - gostls13.git/commit
print the value using (in effect) %v when Printf is given mismatched args for its...
authorRob Pike <r@golang.org>
Fri, 28 Aug 2009 20:02:34 +0000 (13:02 -0700)
committerRob Pike <r@golang.org>
Fri, 28 Aug 2009 20:02:34 +0000 (13:02 -0700)
commitc6540d31f6c1aa1c93638db28d32ad6eb7392c9f
treec95d622feb003b32653116dc524ee7a1d1b9345d
parent8fdc5b6041d05e0fad8140f489358dd1cbe4e5de
print the value using (in effect) %v when Printf is given mismatched args for its format
Printf("%s", 2) gives %s(int=2)

R=rsc
DELTA=12  (10 added, 0 deleted, 2 changed)
OCL=34042
CL=34044
src/pkg/fmt/fmt_test.go
src/pkg/fmt/print.go