pub fn ensureUnusedCapacity(self: *Self, allocator: Allocator, additional_count: usize) !void
Ensure that the queue can fit at least additional_count more item.
additional_count
self: *Self
allocator: Allocator
additional_count: usize
200 201 202
pub fn ensureUnusedCapacity(self: *Self, allocator: Allocator, additional_count: usize) !void { return self.ensureTotalCapacity(allocator, self.items.len + additional_count); }
Ensure that the queue can fit at least
additional_countmore item.