1
0
mirror of https://github.com/golang/go synced 2024-11-21 15:44:44 -07:00

time: update doc string for Error method

Fixes #2512.

R=golang-dev, gri
CC=golang-dev
https://golang.org/cl/5449057
This commit is contained in:
Rob Pike 2011-12-01 11:44:17 -08:00
parent d2b77bb194
commit 473de60359

View File

@ -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 " +