Skip to content

Commit

Permalink
encoding/json: Adjust comment for MashalerError struct
Browse files Browse the repository at this point in the history
  • Loading branch information
GuilhermeCaruso committed Jan 15, 2019
1 parent 19ea6fb commit 55c91fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/encoding/json/encode.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 55c91fc

Please sign in to comment.