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,