Carl Lerche and GitHub
447530b8a6
Remove BufMut::bytes_vectored_mut() ( #430 )
...
There are issues with regard to uninitialized memory. We are avoiding
stabilizing this function for now.
2020-10-16 11:56:03 -07:00
Taiki Endo and GitHub
e9877e7a3d
Deny warnings for doc tests ( #391 )
2020-05-24 06:30:50 +09:00
Kirill Fomichev and GitHub
08ec01d1e7
Fix reference in Take docs ( #383 )
2020-05-22 14:33:06 +09:00
Taiki Endo and GitHub
1fbf83816b
Format with rustfmt ( #389 )
...
* Format with rustfmt
* Add rustfmt check to CI
2020-05-22 13:17:30 +09:00
Sean McArthur and Carl Lerche
a642e1c075
Add accessors to Limit combinator ( #325 )
2019-11-26 18:08:39 -08:00
Sean McArthur and Carl Lerche
cdd9fc09cd
Export public the combinator types ( #318 )
2019-11-25 10:47:37 -08:00
Sean McArthur and Carl Lerche
44fb206148
add BufMutExt::limit ( #309 )
...
This type is the counterpart to BufExt::take. It limits how many bytes
some `BufMut` can actually be filled with.
2019-11-20 15:10:30 -08:00
Carl Lerche and GitHub
8135c1f606
implicitly grow BytesMut; add BufMutExt::chain_mut ( #316 )
...
This brings `BytesMut` in line with `Vec<u8>` behavior.
This also fixes an existing bug in BytesMut::bytes_mut that exposes
invalid slices. The bug was recently introduced and was only on master
and never released to `crates.io`.
In order to fix a test, `BufMutExt::chain_mut` is provided. Withou this,
it is not possible to chain two `&mut [u8]`.
Closes #170
2019-11-20 12:11:40 -08:00
Sean McArthur and GitHub
96268a80d4
Move "extra" methods to extension traits ( #306 )
2019-10-31 09:39:58 -07:00