authorgravatar for kubashi@posteo.comkubashi <kubashi@posteo.com> 2026-09-18 14:23:27+02:00
committergravatar for kubashi@posteo.comkubashi <kubashi@posteo.com> 2026-09-18 14:23:27+02:00
log80fe9b2b7fc981166cbfe98165e17dad6107cb34
tree4e6e5f9e7dc5dd838d643c5a3253da19f069ca06
parent77e87f4e051c88431fe03c75791f755eae07212a

docs: update dupeSentinel doc comment


1 files changed, 1 insertions(+), 1 deletions(-)

lib/std/mem/Allocator.zig+1-1
...@@ -463,7 +463,7 @@ pub fn dupe(allocator: Allocator, comptime T: type, m: []const T) Error![]T {...@@ -463,7 +463,7 @@ pub fn dupe(allocator: Allocator, comptime T: type, m: []const T) Error![]T {
463 return new_buf;463 return new_buf;
464}464}
465465
466/// Copies `m` to newly allocated memory, with a null-terminated element. Caller owns the memory.466/// Copies `m` to newly allocated memory, with a sentinel-terminated element. Caller owns the memory.
467pub fn dupeSentinel(467pub fn dupeSentinel(
468 allocator: Allocator,468 allocator: Allocator,
469 comptime T: type,469 comptime T: type,