| ... | @@ -14,7 +14,6 @@ const mb = kb * 1024; | ... | @@ -14,7 +14,6 @@ const mb = kb * 1024; |
| 14 | pub const ModFile = struct { | 14 | pub const ModFile = struct { |
| 15 | const Self = @This(); | 15 | const Self = @This(); |
| 16 | | 16 | |
| 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 | } |
| 54 | | 53 | |
| 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, |