From 88e120329301bd73db39e1081737a83f49a5672b Mon Sep 17 00:00:00 2001 From: EndlessCheng Date: Tue, 4 May 2021 08:45:44 +0800 Subject: [PATCH] Fix a typo --- src/strconv/atoi.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/strconv/atoi.go b/src/strconv/atoi.go index f6c4efaef60..c9ba0383b3f 100644 --- a/src/strconv/atoi.go +++ b/src/strconv/atoi.go @@ -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