Function deinit [src]

Prototype

pub fn deinit(self: *Self, allocator: Allocator) void

Parameters

self: *Selfallocator: Allocator

Source

pub fn deinit(self: *Self, allocator: Allocator) void { self.buf.deinit(allocator); self.* = undefined; }