mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00: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:
parent
e3769299cd
commit
138d2c9b88
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue