fn ensureUnusedCapacity(self: *Self, additional_count: Size) Allocator.Error!void

Increases capacity, guaranteeing that insertions up until additional_count more items will not cause an allocation, and therefore cannot fail.

Parameters

self: *Self,
additional_count: Size,