diff options
author | Tim Cooper <tim.cooper@layeh.com> | 2018-09-27 16:55:24 -0500 |
---|---|---|
committer | Daniel Martà <mvdan@mvdan.cc> | 2018-10-06 12:11:53 +0000 |
commit | 8aee193fb8b61d474a7e3e6d43625f4e746c5b65 (patch) | |
tree | 3c15c3f8811e47bee329940a8ea434f91510943f /src/strconv | |
parent | 963776e689c4c015c89464ab4fef90ae50373f66 (diff) | |
download | go-8aee193fb8b61d474a7e3e6d43625f4e746c5b65.tar.gz go-8aee193fb8b61d474a7e3e6d43625f4e746c5b65.zip |
all: remove unneeded parentheses from package consts and vars
Change-Id: Ic7fce53c6264107c15b127d9c9ca0bec11a888ff
Reviewed-on: https://go-review.googlesource.com/c/138183
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Diffstat (limited to 'src/strconv')
-rw-r--r-- | src/strconv/atoi.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/strconv/atoi.go b/src/strconv/atoi.go index bebed04820..bbfdb7dc39 100644 --- a/src/strconv/atoi.go +++ b/src/strconv/atoi.go @@ -44,7 +44,7 @@ const intSize = 32 << (^uint(0) >> 63) // IntSize is the size in bits of an int or uint value. const IntSize = intSize -const maxUint64 = (1<<64 - 1) +const maxUint64 = 1<<64 - 1 // ParseUint is like ParseInt but for unsigned numbers. func ParseUint(s string, base int, bitSize int) (uint64, error) { |