diff options
author | Ondřej Surý <ondrej@sury.org> | 2011-01-17 12:40:45 +0100 |
---|---|---|
committer | Ondřej Surý <ondrej@sury.org> | 2011-01-17 12:40:45 +0100 |
commit | 3e45412327a2654a77944249962b3652e6142299 (patch) | |
tree | bc3bf69452afa055423cbe0c5cfa8ca357df6ccf /src/pkg/strconv/atoi.go | |
parent | c533680039762cacbc37db8dc7eed074c3e497be (diff) | |
download | golang-upstream/2011.01.12.tar.gz |
Imported Upstream version 2011.01.12upstream/2011.01.12
Diffstat (limited to 'src/pkg/strconv/atoi.go')
-rw-r--r-- | src/pkg/strconv/atoi.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pkg/strconv/atoi.go b/src/pkg/strconv/atoi.go index e82b6cdba..f7b845672 100644 --- a/src/pkg/strconv/atoi.go +++ b/src/pkg/strconv/atoi.go @@ -11,7 +11,7 @@ type NumError struct { Error os.Error } -func (e *NumError) String() string { return "parsing " + e.Num + ": " + e.Error.String() } +func (e *NumError) String() string { return `parsing "` + e.Num + `": ` + e.Error.String() } func computeIntsize() uint { |