Skip to content

Commit

Permalink
Fix CI failure (#616)
Browse files Browse the repository at this point in the history
  • Loading branch information
taiki-e authored Jun 4, 2023
1 parent b29112c commit c7756c3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions tests/test_buf.rs
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ fn test_vec_deque() {
assert_eq!(b"world piece", &out[..]);
}

#[allow(unused_allocation)] // This is intentional.
#[test]
fn test_deref_buf_forwards() {
struct Special;
Expand Down
1 change: 1 addition & 0 deletions tests/test_buf_mut.rs
Original file line number Diff line number Diff line change
Expand Up @@ -218,6 +218,7 @@ fn test_maybe_uninit_buf_mut_put_bytes_overflow() {
do_test_slice_put_bytes_panics(make_maybe_uninit_slice);
}

#[allow(unused_allocation)] // This is intentional.
#[test]
fn test_deref_bufmut_forwards() {
struct Special;
Expand Down

0 comments on commit c7756c3

Please sign in to comment.