aboutsummaryrefslogtreecommitdiff
path: root/lib/std/heap/debug_allocator.zig
diff options
context:
space:
mode:
authorAdrian <146006794+adrian4096@users.noreply.github.com>2025-10-28 10:26:04 +0100
committerGitHub <noreply@github.com>2025-10-28 10:26:04 +0100
commit4e9dd099c5d624b101222bfc4e6f415b5375f8d7 (patch)
tree5d591a025bd8305fd2ea90aa2d108f884112d0b9 /lib/std/heap/debug_allocator.zig
parent2cbd0d3f0811d5601e1e3037d55bc768d026aff9 (diff)
downloadzig-4e9dd099c5d624b101222bfc4e6f415b5375f8d7.tar.gz
zig-4e9dd099c5d624b101222bfc4e6f415b5375f8d7.zip
std.heap.debug_allocator outdated doc (#25634)
Fixed a relatively small outdated doc string, referring to the bucket linked list.
Diffstat (limited to 'lib/std/heap/debug_allocator.zig')
-rw-r--r--lib/std/heap/debug_allocator.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/std/heap/debug_allocator.zig b/lib/std/heap/debug_allocator.zig
index 38b9303479..8e66f722c3 100644
--- a/lib/std/heap/debug_allocator.zig
+++ b/lib/std/heap/debug_allocator.zig
@@ -69,7 +69,7 @@
//! versa.
//!
//! When a bucket is full, a new one is allocated, containing a pointer to the
-//! previous one. This singly-linked list is iterated during leak detection.
+//! previous one. This doubly-linked list is iterated during leak detection.
//!
//! Resizing and remapping work the same on small allocations: if the size
//! class would not change, then the operation succeeds, and the address is