Commit 473de603 authored by Rob Pike's avatar Rob Pike

time: update doc string for Error method

Fixes #2512.

R=golang-dev, gri
CC=golang-dev
https://golang.org/cl/5449057
parent d2b77bb1
......@@ -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 " +
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment