pub fn deinit(self: *Self, allocator: Allocator) void
Deinitializes the array and releases its memory. The passed allocator must be the same one used for init* or resize in the past.
self: *Self
allocator: Allocator
789 790 791
pub fn deinit(self: *Self, allocator: Allocator) void { self.resize(allocator, 0, false) catch unreachable; }
Deinitializes the array and releases its memory. The passed allocator must be the same one used for init* or resize in the past.