mirror of
https://github.com/golang/go
synced 2024-11-24 21:00:09 -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 + "\""
|
||||
}
|
||||
|
||||
// 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 " +
|
||||
|
Loading…
Reference in New Issue
Block a user