diff options
| author | Bryan Heden <b.heden@gmail.com> | 2019-02-14 02:35:00 +0000 |
|---|---|---|
| committer | Brad Fitzpatrick <bradfitz@golang.org> | 2019-02-26 23:04:04 +0000 |
| commit | 3a9037368e28e3c5cf587d8780af6b0b8659f91e (patch) | |
| tree | c194b689884780437d33ae9b673f94beef9f7960 /test/codegen/alloc.go | |
| parent | b68624464dc41ffb09b9ee5314d3455904acd2a8 (diff) | |
| download | go-3a9037368e28e3c5cf587d8780af6b0b8659f91e.tar.xz | |
fmt: fix an error in documentation for fmt
Original Printf("%d", hi) obviously doesn't produce
%!d(string=hi) unless somewhere before this code
block you have hi := "hi" somewhere, also this change
maintains consistency with the rest of it
Change-Id: I40d8cca623176dcad66374ba74e3a1f8f975ac9e
GitHub-Last-Rev: 242e9ee6afba7ab22ed2967b0ba01ef18db01ca9
GitHub-Pull-Request: golang/go#30223
Reviewed-on: https://go-review.googlesource.com/c/162541
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Diffstat (limited to 'test/codegen/alloc.go')
0 files changed, 0 insertions, 0 deletions
