1
0
mirror of https://github.com/golang/go synced 2024-11-07 03:26:10 -07:00

Fix a typo

This commit is contained in:
EndlessCheng 2021-05-04 08:45:44 +08:00 committed by GitHub
parent 2422c5eae5
commit 88e1203293
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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