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 <bradfitz@golang.org>
diff --git a/src/strconv/decimal.go b/src/strconv/decimal.go
index 957acd9..b580018 100644
--- a/src/strconv/decimal.go
+++ b/src/strconv/decimal.go
@@ -15,8 +15,8 @@
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 {