diff --git a/id.go b/id.go index feb9d32..9730f1f 100644 --- a/id.go +++ b/id.go @@ -84,7 +84,7 @@ func (receiver ID) String() string { return serialized } -// UnmarshalText makes xim.ID fit the encoding.TextMarshaler interface. +// MarshalText makes xim.ID fit the encoding.TextMarshaler interface. func (receiver ID) MarshalText() (text []byte, err error) { if Nothing() == receiver { return nil, errNothing