paritytech / parity-scale-codec

Lightweight, efficient, binary serialization and deserialization codec
Apache License 2.0
246 stars 95 forks source link

Implement `Decode` for `Box<T> where T: ?Sized` #564

Open mversic opened 8 months ago

mversic commented 8 months ago

Why isn't Decode implemented for these types? The 2 obvious examples are Box<str> and Box<[T]>

bkchr commented 8 months ago

Do you want to do this?

mversic commented 8 months ago

sure, I'll have a look at it tomorrow