pub fn ensureUnusedCapacity(self: *Self, allocator: Allocator, additional_count: usize) !void
Ensure that the dequeue can fit at least additional_count more items.
additional_count
self: *Self
allocator: Allocator
additional_count: usize
360 361 362
pub fn ensureUnusedCapacity(self: *Self, allocator: Allocator, additional_count: usize) !void { return self.ensureTotalCapacity(allocator, self.len + additional_count); }
Ensure that the dequeue can fit at least
additional_countmore items.