From: Adam Kisala Date: Sat, 15 Jul 2017 18:27:56 +0000 (+0100) Subject: strconv: adds missing comment to neg flag, formats comment on trunc flag X-Git-Tag: go1.9rc1~55 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=8cb40fa4215c736aed011fe8b580ade7150acffa;p=gostls13.git strconv: adds missing comment to neg flag, formats comment on trunc flag Change-Id: Ibdd57489543d57a24d1e3c41210abd9fbc930b8f Reviewed-on: https://go-review.googlesource.com/48867 Reviewed-by: Brad Fitzpatrick --- diff --git a/src/strconv/decimal.go b/src/strconv/decimal.go index 957acd9891..b58001888e 100644 --- a/src/strconv/decimal.go +++ b/src/strconv/decimal.go @@ -15,8 +15,8 @@ type decimal struct { d [800]byte // digits, big-endian representation nd int // number of digits used dp int // decimal point - neg bool - trunc bool // discarded nonzero digits beyond d[:nd] + neg bool // negative flag + trunc bool // discarded nonzero digits beyond d[:nd] } func (a *decimal) String() string {