From: Rob Pike Date: Thu, 1 Dec 2011 19:44:17 +0000 (-0800) Subject: time: update doc string for Error method X-Git-Tag: weekly.2011-12-02~2 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=473de6035930f4014a07f5b2a1315993cb42fb27;p=gostls13.git time: update doc string for Error method Fixes #2512. R=golang-dev, gri CC=golang-dev https://golang.org/cl/5449057 --- diff --git a/src/pkg/time/format.go b/src/pkg/time/format.go index d09735763f..082a51a162 100644 --- a/src/pkg/time/format.go +++ b/src/pkg/time/format.go @@ -515,7 +515,7 @@ func quote(s string) string { return "\"" + s + "\"" } -// String is the string representation of a ParseError. +// Error returns the string representation of a ParseError. func (e *ParseError) Error() string { if e.Message == "" { return "parsing time " +