Skip to content

Commit 07a8ba4

Browse files
committed
- update docs
1 parent 04ebaf1 commit 07a8ba4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/strconv/atoi.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ var ErrSyntax = errors.New("invalid syntax")
2222

2323
// A NumError records a failed conversion.
2424
type NumError struct {
25-
Func string // the failing function (ParseBool, ParseInt, ParseUint, ParseFloat)
25+
Func string // the failing function (ParseBool, ParseInt, ParseUint, ParseFloat, ParseComplex)
2626
Num string // the input
2727
Err error // the reason the conversion failed (e.g. ErrRange, ErrSyntax, etc.)
2828
}

0 commit comments

Comments
 (0)