mirror of
https://github.com/tokio-rs/bytes.git
synced 2026-08-07 00:00:13 +02:00
Add specialized Buf::chunks_vectored for Take (#617)
Co-authored-by: Alice Ryhl <[email protected]> Co-authored-by: Michal 'vorner' Vaner <[email protected]>
This commit is contained in:
co-authored by
Alice Ryhl
Michal 'vorner' Vaner
parent
103d7bf9e0
commit
aae4969fde
+1
-1
@@ -404,7 +404,7 @@ mod chain_limited_slices {
|
||||
Buf::take(Buf::chain(Buf::chain(a, b), Buf::chain(c, d)), buf.len())
|
||||
}
|
||||
|
||||
buf_tests!(make_input, /* `Limit` does not forward `chucks_vectored */ false);
|
||||
buf_tests!(make_input, true);
|
||||
}
|
||||
|
||||
#[allow(unused_allocation)] // This is intentional.
|
||||
|
||||
Reference in New Issue
Block a user