commit | ffea835b8f18681f2736a6b88b83aa27baf0a575 | [log] [tgz] |
---|---|---|
author | Rob Pike <r@golang.org> | Thu Sep 27 06:21:38 2012 +1000 |
committer | Rob Pike <r@golang.org> | Thu Sep 27 06:21:38 2012 +1000 |
tree | 95ddf1e814af541fcb61edac77c75ea13ff4745b | |
parent | 7014bc64b1be8f85fff75ec13f8597b6a6aed366 [diff] |
fmt: allow # and x together for strings Silly and small but easy to be consistent. To make it worthwhile, I eliminated an allocation when using %x on a byte slice. Fixes #4149. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/6574046