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 d097357..082a51a 100644
--- a/src/pkg/time/format.go
+++ b/src/pkg/time/format.go
@@ -515,7 +515,7 @@
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 " +