0.11.0
- The definition of Bytes has changed from
struct Bytes<'a>(&'a [u8])
tostruct Bytes([u8])
which makes it work more like str, [u8], Path, CStr etc. This makes it possible to use Cow<Bytes> for example.
struct Bytes<'a>(&'a [u8])
to struct Bytes([u8])
which makes it work more like str, [u8], Path, CStr etc. This makes it possible to use Cow<Bytes> for example.