mirror of
https://github.com/ziglang/zig.git
synced 2026-01-20 14:25:16 +00:00
std.heap: Fix typo
This commit is contained in:
parent
d127c1d59e
commit
f65ca80bbe
@ -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;
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user