]> Cypherpunks repositories - gostls13.git/commit
%q in fmt: if the object is a Stringer, use String() to get the value to quote.
authorRob Pike <r@golang.org>
Thu, 25 Feb 2010 06:29:37 +0000 (17:29 +1100)
committerRob Pike <r@golang.org>
Thu, 25 Feb 2010 06:29:37 +0000 (17:29 +1100)
commit24ee7f799c734cf07b98bab672f5feb4ad0c6862
tree796c160a4ee392c6dc998fc4aacbb74c73dacbc2
parentd5248c4a96cdd72ac55ce4a075ce08873f09a4f7
%q in fmt: if the object is a Stringer, use String() to get the value to quote.

R=rsc
CC=golang-dev
https://golang.org/cl/224051
src/pkg/fmt/fmt_test.go
src/pkg/fmt/print.go
src/pkg/fmt/stringer_test.go