about summary refs log tree commit diff
path: root/library/alloc/tests/heap.rs
diff options
context:
space:
mode:
Diffstat (limited to 'library/alloc/tests/heap.rs')
-rw-r--r--library/alloc/tests/heap.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/alloc/tests/heap.rs b/library/alloc/tests/heap.rs
index cbde2a7e28e..a7239a4b14f 100644
--- a/library/alloc/tests/heap.rs
+++ b/library/alloc/tests/heap.rs
@@ -11,7 +11,7 @@ fn std_heap_overaligned_request() {
     check_overalign_requests(Global)
 }
 
-fn check_overalign_requests<T: AllocRef>(mut allocator: T) {
+fn check_overalign_requests<T: AllocRef>(allocator: T) {
     for &align in &[4, 8, 16, 32] {
         // less than and bigger than `MIN_ALIGN`
         for &size in &[align / 2, align - 1] {