mirror of https://github.com/golang/go.git
encoding/json: Adjust comment for MashalerError struct
This commit is contained in:
parent
19ea6fbb71
commit
55c91fc190
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue