Skip to content
This repository was archived by the owner on Jun 10, 2025. It is now read-only.

Commit f68f21a

Browse files
committed
chore: fix comment
1 parent 5697975 commit f68f21a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

encoding.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ func (r *Encoding) Register(mime string, marshaler codec.Marshaler) error {
106106
return errors.New("encoding: empty MIME type")
107107
}
108108
if marshaler == nil {
109-
return errors.New("encoding: marshaller should be not")
109+
return errors.New("encoding: marshaller should be not nil")
110110
}
111111
switch mime {
112112
case MIMEQuery:

0 commit comments

Comments
 (0)