fn append(self: *Self, allocator: Allocator, item: T) Allocator.Error!void

Extend the list by 1 element. Allocates more memory as necessary. Invalidates pointers if additional memory is needed.

Parameters

self: *Self,
allocator: Allocator,
item: T,