Function deinit [src]

Deinitializes the array and releases its memory. The passed allocator must be the same one used for init* or resize in the past.

Prototype

pub fn deinit(self: *Self) void

Parameters

self: *Self

Source

pub fn deinit(self: *Self) void { self.unmanaged.deinit(self.allocator); }