removeMin
Remove and return the smallest element from the dequeue.
Function parameters
Parameters
- self:*Self
Priority Dequeue for storing generic data.
Functions
- PriorityDequeue
- Priority Dequeue for storing generic data.
Source
Implementation
pub fn removeMin(self: *Self) T {
return self.removeIndex(0);
}