From 80fe9b2b7fc981166cbfe98165e17dad6107cb34 Mon Sep 17 00:00:00 2001 From: kubashi Date: Fri, 18 Sep 2026 14:23:27 +0200 Subject: [PATCH] docs: update dupeSentinel doc comment --- lib/std/mem/Allocator.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/std/mem/Allocator.zig b/lib/std/mem/Allocator.zig index bbd9e94c175286f3c2e7968b79851e4e48afbc17..1b63cc6a0f7ea2305c8ce1f394eccb6136ffd877 100644 --- a/lib/std/mem/Allocator.zig +++ b/lib/std/mem/Allocator.zig @@ -463,7 +463,7 @@ pub fn dupe(allocator: Allocator, comptime T: type, m: []const T) Error![]T { return new_buf; } -/// Copies `m` to newly allocated memory, with a null-terminated element. Caller owns the memory. +/// Copies `m` to newly allocated memory, with a sentinel-terminated element. Caller owns the memory. pub fn dupeSentinel( allocator: Allocator, comptime T: type, -- 2.54.0