authorgravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2021-10-28 01:25:26 -07:00
committergravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2021-10-28 01:25:26 -07:00
log35a2971073cbbe0c2a4bcd49ac6a48a5f043143b
tree483e64d87e703e2cd85f73b999b5925c926ec9f3
parent2f797a159a997d3ed19b6587a47240e366efc321

remove unused allocator from modfile


1 files changed, 0 insertions(+), 2 deletions(-)

src/util/modfile.zig-2
......@@ -14,7 +14,6 @@ const mb = kb * 1024;
1414pub const ModFile = struct {
1515 const Self = @This();
1616
17 alloc: *std.mem.Allocator,
1817 id: string,
1918 name: string,
2019 main: string,
......@@ -53,7 +52,6 @@ pub const ModFile = struct {
5352 }
5453
5554 return Self{
56 .alloc = alloc,
5755 .id = if (id.len == 0) try u.random_string(48) else id,
5856 .name = name,
5957 .main = main,