mirror of
https://github.com/golang/go.git
synced 2025-05-05 15:43:04 +00:00
Fix typo
parent
9972bea2c9
commit
6a42c36e65
@ -26,7 +26,7 @@ func (e *ParseError) String() string {
|
|||||||
return fmt.Sprintf("pkg: error parsing %q as int", e.Word)
|
return fmt.Sprintf("pkg: error parsing %q as int", e.Word)
|
||||||
}
|
}
|
||||||
|
|
||||||
// Parse parses the space-separated words in in put as integers.
|
// Parse parses the space-separated words in input as integers.
|
||||||
func Parse(input string) (numbers []int, err error) {
|
func Parse(input string) (numbers []int, err error) {
|
||||||
defer func() {
|
defer func() {
|
||||||
if r := recover(); r != nil {
|
if r := recover(); r != nil {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user