pub fn Parsed(comptime T: type) type arena: *ArenaAllocatorvalue: Tpub fn deinit(self: @This()) void57
58
59
60
61
62
63
64
65
66
67
68pub fn Parsed(comptime T: type) type {
return struct {
arena: *ArenaAllocator,
value: T,
pub fn deinit(self: @This()) void {
const allocator = self.arena.child_allocator;
self.arena.deinit();
allocator.destroy(self.arena);
}
};
}