codec: fix noop #146

Merged
vtolstov merged 1 commits from codec_noop_fix into v3 2022-10-26 13:39:52 +03:00

View File

@ -107,7 +107,6 @@ func (c *noopCodec) Unmarshal(d []byte, v interface{}, opts ...Option) error {
*ve = string(d)
return nil
case []byte:
ve = make([]byte, len(d))
copy(ve, d)
return nil
case *[]byte: