From 473de6035930f4014a07f5b2a1315993cb42fb27 Mon Sep 17 00:00:00 2001 From: Rob Pike Date: Thu, 1 Dec 2011 11:44:17 -0800 Subject: [PATCH] time: update doc string for Error method Fixes #2512. R=golang-dev, gri CC=golang-dev https://golang.org/cl/5449057 --- src/pkg/time/format.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 " + -- 2.50.0