std.heap: Fix typo

This commit is contained in:
r00ster 2022-05-01 17:05:57 +02:00 committed by Andrew Kelley
parent d127c1d59e
commit f65ca80bbe

View File

@ -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;