aboutsummaryrefslogtreecommitdiff
path: root/tests/test_buf.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_buf.rs')
-rw-r--r--tests/test_buf.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/test_buf.rs b/tests/test_buf.rs
index fbad003..3940f92 100644
--- a/tests/test_buf.rs
+++ b/tests/test_buf.rs
@@ -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;