summaryrefslogtreecommitdiff
path: root/libgo/go/strconv/atob.go
diff options
context:
space:
mode:
Diffstat (limited to 'libgo/go/strconv/atob.go')
-rw-r--r--libgo/go/strconv/atob.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/libgo/go/strconv/atob.go b/libgo/go/strconv/atob.go
index d0cb097213..879ceb385e 100644
--- a/libgo/go/strconv/atob.go
+++ b/libgo/go/strconv/atob.go
@@ -7,7 +7,7 @@ package strconv
// ParseBool returns the boolean value represented by the string.
// It accepts 1, t, T, TRUE, true, True, 0, f, F, FALSE, false, False.
// Any other value returns an error.
-func ParseBool(str string) (value bool, err error) {
+func ParseBool(str string) (bool, error) {
switch str {
case "1", "t", "T", "true", "TRUE", "True":
return true, nil