diff --git a/encoding/encoding.go b/encoding/encoding.go
index <HASH>..<HASH> 100644
--- a/encoding/encoding.go
+++ b/encoding/encoding.go
@@ -108,7 +108,7 @@ var registeredCodecs = make(map[string]Codec)
 // more details.
 //
 // NOTE: this function must only be called during initialization time (i.e. in
-// an init() function), and is not thread-safe.  If multiple Compressors are
+// an init() function), and is not thread-safe.  If multiple Codecs are
 // registered with the same name, the one registered last will take effect.
 func RegisterCodec(codec Codec) {
 	if codec == nil {
documentation: fix typo in RegisterCodec godoc (#<I>)