Skip to content

Commit

Permalink
strconv: adds missing comment to neg flag, formats comment on trunc flag
Browse files Browse the repository at this point in the history
Change-Id: Ibdd57489543d57a24d1e3c41210abd9fbc930b8f
Reviewed-on: https://go-review.googlesource.com/48867
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
  • Loading branch information
adamkisala authored and bradfitz committed Jul 15, 2017
1 parent 0a633c3 commit 8cb40fa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/strconv/decimal.go
Expand Up @@ -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 {
Expand Down

0 comments on commit 8cb40fa

Please sign in to comment.