Zig 0.15: zig fmt

This commit is contained in:
Mitchell Hashimoto
2025-10-01 11:23:06 -07:00
parent d02770d292
commit 7ec57aeebd
18 changed files with 31 additions and 31 deletions

View File

@@ -92,7 +92,7 @@ pub fn BitmapAllocator(comptime chunk_size: comptime_int) type {
return error.OutOfMemory;
const chunks = self.chunks.ptr(base);
const ptr: [*]T = @alignCast(@ptrCast(&chunks[idx * chunk_size]));
const ptr: [*]T = @ptrCast(@alignCast(&chunks[idx * chunk_size]));
return ptr[0..n];
}