fn growCapacity(self: *Self, allocator: Allocator, new_capacity: usize) Allocator.Error!void

Only grows capacity, or retains current capacity.

Parameters

self: *Self,
allocator: Allocator,
new_capacity: usize,