fn addOne(self: *Self, allocator: Allocator) Allocator.Error!usize

Extend the list by 1 element, returning the newly reserved index with uninitialized data. Allocates more memory as necesasry.

Parameters

self: *Self,
allocator: Allocator,