authorgravatar for r00ster91@protonmail.comr00ster <r00ster91@protonmail.com> 2022-05-01 17:05:57+02:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2022-05-01 14:41:12-04:00
logf65ca80bbeedc42d7c2d9ab7e9ad96b44d3c71f8
tree98db69552496d2d4ae265560675e09e59ff6bf89
parentd127c1d59ebf19e5ffaedece99a39f69712683b0

std.heap: Fix typo


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

lib/std/heap.zig+1-1
...@@ -282,7 +282,7 @@ const PageAllocator = struct {...@@ -282,7 +282,7 @@ const PageAllocator = struct {
282 return @ptrCast([*]u8, addr)[0..alignPageAllocLen(aligned_len, n, len_align)];282 return @ptrCast([*]u8, addr)[0..alignPageAllocLen(aligned_len, n, len_align)];
283 }283 }
284284
285 // If it wasn't, actually do an explicitely aligned allocation.285 // If it wasn't, actually do an explicitly aligned allocation.
286 w.VirtualFree(addr, 0, w.MEM_RELEASE);286 w.VirtualFree(addr, 0, w.MEM_RELEASE);
287 const alloc_size = n + alignment - mem.page_size;287 const alloc_size = n + alignment - mem.page_size;
288288