summaryrefslogtreecommitdiff
path: root/src/cmd/ld/lib.c
diff options
context:
space:
mode:
authorRob Pike <r@golang.org>2014-09-24 14:33:30 -0700
committerRob Pike <r@golang.org>2014-09-24 14:33:30 -0700
commit4a911080c68b525a246df154f4f963f1b026eff3 (patch)
treeeee65bc3356f49f8c6075be22c752e09a3ce6b05 /src/cmd/ld/lib.c
parent14c9b3be770b4a59a4113783600b8d4b06f5ccd3 (diff)
downloadgo-4a911080c68b525a246df154f4f963f1b026eff3.tar.gz
fmt: document and fix the handling of precision for strings and byte slices
Previous behavior was undocumented and inconsistent. Now it is documented and consistent and measures the input size, since that makes more sense when talking about %q and %x. For %s the change has no effect. Fixes issue 8151. LGTM=iant R=golang-codereviews, iant CC=golang-codereviews https://codereview.appspot.com/144540044
Diffstat (limited to 'src/cmd/ld/lib.c')
0 files changed, 0 insertions, 0 deletions