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;...@@ -14,7 +14,6 @@ const mb = kb * 1024;
14pub const ModFile = struct {14pub const ModFile = struct {
15 const Self = @This();15 const Self = @This();
1616
17 alloc: *std.mem.Allocator,
18 id: string,17 id: string,
19 name: string,18 name: string,
20 main: string,19 main: string,
...@@ -53,7 +52,6 @@ pub const ModFile = struct {...@@ -53,7 +52,6 @@ pub const ModFile = struct {
53 }52 }
5453
55 return Self{54 return Self{
56 .alloc = alloc,
57 .id = if (id.len == 0) try u.random_string(48) else id,55 .id = if (id.len == 0) try u.random_string(48) else id,
58 .name = name,56 .name = name,
59 .main = main,57 .main = main,