priority-queue
priority-queue copied to clipboard
Implement guards for `peek_mut`, `get_mut`
Returning a guard type out of peek_mut, get_mut and similar would allow to change the priority.
When the guard is dropped, the item is put in the right place in the heap.