Skip to content

Commit db31a55

Browse files
committed
fix gpa
1 parent 3ca3e87 commit db31a55

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main.zig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ const std = @import("std");
22
const elaztic = @import("elaztic");
33

44
pub fn main() !void {
5-
const gpa = std.heap.GeneralPurposeAllocator(.{}){};
5+
var gpa = std.heap.GeneralPurposeAllocator(.{}){};
66
defer _ = gpa.deinit();
77
const allocator = gpa.allocator();
88

0 commit comments

Comments
 (0)