From 35a2971073cbbe0c2a4bcd49ac6a48a5f043143b Mon Sep 17 00:00:00 2001 From: Meghan Denny Date: Thu, 28 Oct 2021 01:25:26 -0700 Subject: [PATCH] remove unused allocator from modfile --- src/util/modfile.zig | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/util/modfile.zig b/src/util/modfile.zig index b7a2e9ee3ec2da69c683f84982aa644681553bd0..ddd7f8875b217a777ff723e5015dbad6dbe4e6ad 100644 --- a/src/util/modfile.zig +++ b/src/util/modfile.zig @@ -14,7 +14,6 @@ const mb = kb * 1024; pub const ModFile = struct { const Self = @This(); - alloc: *std.mem.Allocator, id: string, name: string, main: string, @@ -53,7 +52,6 @@ pub const ModFile = struct { } return Self{ - .alloc = alloc, .id = if (id.len == 0) try u.random_string(48) else id, .name = name, .main = main, -- 2.54.0