aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorr00ster <r00ster91@protonmail.com>2022-05-01 17:05:57 +0200
committerAndrew Kelley <andrew@ziglang.org>2022-05-01 14:41:12 -0400
commitf65ca80bbeedc42d7c2d9ab7e9ad96b44d3c71f8 (patch)
tree98db69552496d2d4ae265560675e09e59ff6bf89
parentd127c1d59ebf19e5ffaedece99a39f69712683b0 (diff)
downloadzig-f65ca80bbeedc42d7c2d9ab7e9ad96b44d3c71f8.tar.gz
zig-f65ca80bbeedc42d7c2d9ab7e9ad96b44d3c71f8.zip
std.heap: Fix typo
-rw-r--r--lib/std/heap.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/std/heap.zig b/lib/std/heap.zig
index aaf87367d8..65952f6c50 100644
--- 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;