pub fn push(self: *Self, allocator: Allocator, elem: T) !void 48
49
50
51 pub fn push(self: *Self, allocator: Allocator, elem: T) !void {
try self.ensureUnusedCapacity(allocator, 1);
pushUnchecked(self, elem);
}
Insert a new element, maintaining priority.