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)
|
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 MarshalerError struct {
|
||||||
Type reflect.Type
|
Type reflect.Type
|
||||||
Err error
|
Err error
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue