1
0
mirror of https://github.com/golang/go synced 2024-11-23 06:00:08 -07:00

strconv: fix a typo

Change-Id: I17911dc95fb2126b41dc95f8839c4b3fa8f35d12
GitHub-Last-Rev: 88e1203293
GitHub-Pull-Request: golang/go#45933
Reviewed-on: https://go-review.googlesource.com/c/go/+/316689
Reviewed-by: Robert Griesemer <gri@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
This commit is contained in:
EndlessCheng 2021-05-04 01:00:37 +00:00 committed by Ian Lance Taylor
parent e3769299cd
commit 138d2c9b88

View File

@ -143,7 +143,7 @@ func ParseUint(s string, base int, bitSize int) (uint64, error) {
n1 := n + uint64(d)
if n1 < n || n1 > maxVal {
// n+v overflows
// n+d overflows
return maxVal, rangeError(fnParseUint, s0)
}
n = n1