Closed afck closed 6 years ago
Deserializing into a borrowed str slice fails if the deserializer doesn't own such a slice. E.g. it couldn't be used to deserialize proofs from a TcpStream.
str
TcpStream
If you prefer, we could also use https://github.com/serde-rs/bytes to avoid the unnecessary string allocation.
LGTM
Deserializing into a borrowed
str
slice fails if the deserializer doesn't own such a slice. E.g. it couldn't be used to deserialize proofs from aTcpStream
.