diff --git a/cbor.go b/cbor.go index 29e5e7d..abd506c 100644 --- a/cbor.go +++ b/cbor.go @@ -5,5 +5,5 @@ type CBORMarshal func(v any) ([]byte, error) // CBORUnmarshal parses the CBOR-encoded data and stores the result // in the value pointed to by v. If v is nil or not a pointer, -// Unmarshal returns an InvalidUnmarshalError. +// Unmarshal returns an error. type CBORUnmarshal func(data []byte, v any) error