encoding/json: Adjust comment for MashalerError struct

This commit is contained in:
GuilhermeCaruso 2019-01-15 21:24:03 -02:00
parent 19ea6fbb71
commit 55c91fc190
1 changed files with 1 additions and 1 deletions

View File

@ -259,7 +259,7 @@ func (e *InvalidUTF8Error) Error() string {
return "json: invalid UTF-8 in string: " + strconv.Quote(e.S)
}
// A MarshalerError represents an error from calling a MarshalJSON or MarshalText methods.
// A MarshalerError represents an error from calling a MarshalJSON or MarshalText method.
type MarshalerError struct {
Type reflect.Type
Err error