pub fn deinit(self: Self) void
Release all allocated memory.
self: Self
66 67 68 69 70 71
pub fn deinit(self: Self) void { self.pointer_stability.assertUnlocked(); if (@sizeOf(T) > 0) { self.allocator.free(self.allocatedSlice()); } }
Release all allocated memory.