zig

fork of https://codeberg.org/ziglang/zig
Log | Files | Refs | README | LICENSE

commit f65ca80bbeedc42d7c2d9ab7e9ad96b44d3c71f8 (tree)
parent d127c1d59ebf19e5ffaedece99a39f69712683b0
Author: r00ster <r00ster91@protonmail.com>
Date:   Sun,  1 May 2022 17:05:57 +0200

std.heap: Fix typo
Diffstat:
Mlib/std/heap.zig | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

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