Skip to content

Commit c7756c3

Browse files
authored
Fix CI failure (#616)
1 parent b29112c commit c7756c3

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

tests/test_buf.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ fn test_vec_deque() {
7272
assert_eq!(b"world piece", &out[..]);
7373
}
7474

75+
#[allow(unused_allocation)] // This is intentional.
7576
#[test]
7677
fn test_deref_buf_forwards() {
7778
struct Special;

tests/test_buf_mut.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -218,6 +218,7 @@ fn test_maybe_uninit_buf_mut_put_bytes_overflow() {
218218
do_test_slice_put_bytes_panics(make_maybe_uninit_slice);
219219
}
220220

221+
#[allow(unused_allocation)] // This is intentional.
221222
#[test]
222223
fn test_deref_bufmut_forwards() {
223224
struct Special;

0 commit comments

Comments
 (0)