]> Cypherpunks repositories - gostls13.git/commitdiff
strconv: fix doc comment for IntSize
authorRuss Cox <rsc@golang.org>
Thu, 1 Aug 2013 15:34:25 +0000 (11:34 -0400)
committerRuss Cox <rsc@golang.org>
Thu, 1 Aug 2013 15:34:25 +0000 (11:34 -0400)
R=golang-dev, r
CC=golang-dev
https://golang.org/cl/12258043

src/pkg/strconv/atoi.go

index b06979b0c0571d5c8ba4df3ac993c7d9899f79d8..2d0db7155f75bc986231c706b91928566dae10f5 100644 (file)
@@ -33,7 +33,8 @@ func rangeError(fn, str string) *NumError {
 
 const intSize = 32 << uint(^uint(0)>>63)
 
-const IntSize = intSize // number of bits in int, uint (32 or 64)
+// IntSize is the size in bits of an int or uint value.
+const IntSize = intSize
 
 // Return the first number n such that n*base >= 1<<64.
 func cutoff64(base int) uint64 {