aboutsummaryrefslogtreecommitdiff
path: root/src/encoding/xml/xml.go
diff options
context:
space:
mode:
authorMartin Möhrmann <martisch@uos.de>2016-02-27 12:19:49 +0100
committerRob Pike <r@golang.org>2016-02-29 00:17:07 +0000
commit75cc05fa557b26336bc8e3f0a6c9f03b904a85eb (patch)
tree91afe5ae0d62646d882e0a7705a50f1c7e518dd0 /src/encoding/xml/xml.go
parentf5ab890c189fae6f149a5621adf1cdd8016216b0 (diff)
downloadgo-75cc05fa557b26336bc8e3f0a6c9f03b904a85eb.tar.xz
fmt: fix formatting of numbers with f.space and f.plus specified
Do not replace the sign in front of a number with a space if both f.space and f.plus are both specified for number formatting. This was already the case for integers but not for floats and complex numbers. Updates: #14543. Change-Id: I07ddeb505003db84a8a7d2c743dc19fc427a00bd Reviewed-on: https://go-review.googlesource.com/19974 Run-TryBot: Rob Pike <r@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Rob Pike <r@golang.org>
Diffstat (limited to 'src/encoding/xml/xml.go')
0 files changed, 0 insertions, 0 deletions