mirror of
https://github.com/golang/go
synced 2024-11-12 06:20:22 -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:
parent
d2b77bb194
commit
473de60359
@ -515,7 +515,7 @@ func quote(s string) string {
|
|||||||
return "\"" + s + "\""
|
return "\"" + s + "\""
|
||||||
}
|
}
|
||||||
|
|
||||||
// String is the string representation of a ParseError.
|
// Error returns the string representation of a ParseError.
|
||||||
func (e *ParseError) Error() string {
|
func (e *ParseError) Error() string {
|
||||||
if e.Message == "" {
|
if e.Message == "" {
|
||||||
return "parsing time " +
|
return "parsing time " +
|
||||||
|
Loading…
Reference in New Issue
Block a user