Skip to content

Commit

Permalink
Merge pull request #264 from hasheddan/decode-init
Browse files Browse the repository at this point in the history
Fix minor typo in decodeInit error
  • Loading branch information
goccy authored Nov 4, 2021
2 parents c4f7968 + 50ca234 commit 5f46a66
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion decode.go
Original file line number Diff line number Diff line change
Expand Up @@ -1540,7 +1540,7 @@ func (d *Decoder) DecodeContext(ctx context.Context, v interface{}) error {
return nil
}
if err := d.decodeInit(); err != nil {
return errors.Wrapf(err, "failed to decodInit")
return errors.Wrapf(err, "failed to decodeInit")
}
if err := d.decode(ctx, rv); err != nil {
if err == io.EOF {
Expand Down

0 comments on commit 5f46a66

Please sign in to comment.