Skip to content

Commit

Permalink
- update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
pjebs committed Mar 29, 2020
1 parent 04ebaf1 commit 07a8ba4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/strconv/atoi.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ var ErrSyntax = errors.New("invalid syntax")

// A NumError records a failed conversion.
type NumError struct {
Func string // the failing function (ParseBool, ParseInt, ParseUint, ParseFloat)
Func string // the failing function (ParseBool, ParseInt, ParseUint, ParseFloat, ParseComplex)
Num string // the input
Err error // the reason the conversion failed (e.g. ErrRange, ErrSyntax, etc.)
}
Expand Down

0 comments on commit 07a8ba4

Please # to comment.