allocgate: renamed getAllocator function to allocator
This commit is contained in:
@@ -4,7 +4,7 @@ const g = @import("spirv/grammar.zig");
|
||||
pub fn main() !void {
|
||||
var arena = std.heap.ArenaAllocator.init(std.heap.page_allocator);
|
||||
defer arena.deinit();
|
||||
const allocator = arena.getAllocator();
|
||||
const allocator = arena.allocator();
|
||||
|
||||
const args = try std.process.argsAlloc(allocator);
|
||||
if (args.len != 2) {
|
||||
|
||||
Reference in New Issue
Block a user