| author | |
| committer | |
| log | 80fe9b2b7fc981166cbfe98165e17dad6107cb34 |
| tree | 4e6e5f9e7dc5dd838d643c5a3253da19f069ca06 |
| parent | 77e87f4e051c88431fe03c75791f755eae07212a |
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 | } |
| 465 | 465 | ||
| 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. |
| 467 | pub fn dupeSentinel( | 467 | pub fn dupeSentinel( |
| 468 | allocator: Allocator, | 468 | allocator: Allocator, |
| 469 | comptime T: type, | 469 | comptime T: type, |