mirror of
https://github.com/tokio-rs/bytes.git
synced 2026-08-25 00:00:22 +02:00
Fix CI failure (#616)
This commit is contained in:
@@ -72,6 +72,7 @@ fn test_vec_deque() {
|
|||||||
assert_eq!(b"world piece", &out[..]);
|
assert_eq!(b"world piece", &out[..]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[allow(unused_allocation)] // This is intentional.
|
||||||
#[test]
|
#[test]
|
||||||
fn test_deref_buf_forwards() {
|
fn test_deref_buf_forwards() {
|
||||||
struct Special;
|
struct Special;
|
||||||
|
|||||||
@@ -218,6 +218,7 @@ fn test_maybe_uninit_buf_mut_put_bytes_overflow() {
|
|||||||
do_test_slice_put_bytes_panics(make_maybe_uninit_slice);
|
do_test_slice_put_bytes_panics(make_maybe_uninit_slice);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[allow(unused_allocation)] // This is intentional.
|
||||||
#[test]
|
#[test]
|
||||||
fn test_deref_bufmut_forwards() {
|
fn test_deref_bufmut_forwards() {
|
||||||
struct Special;
|
struct Special;
|
||||||
|
|||||||
Reference in New Issue
Block a user