mirror of
https://github.com/tokio-rs/bytes.git
synced 2026-08-25 00:00:22 +02:00
Remove IntoBuf/FromBuf (#288)
As consequence Buf::collect is removed as well, which is replaced with `Buf::into_bytes`. The advantage of `Buf::into_bytes` is that it can be optimized in cases where converting a `T: Buf` into a `Bytes` instance is efficient.
This commit is contained in:
@@ -37,6 +37,7 @@ jobs:
|
||||
- script: |
|
||||
git clone https://github.com/rust-embedded/cross.git
|
||||
cd cross
|
||||
git reset --hard fb1cb1d7288151f4349f1cb4c990e0e2281764da #Is broken after this commit (images are not uploaded to new docker hub)
|
||||
git apply ../ci/cross-patch
|
||||
cargo install --path .
|
||||
rm -rf cross
|
||||
|
||||
Reference in New Issue
Block a user