priority-queue icon indicating copy to clipboard operation
priority-queue copied to clipboard

Implement guards for `peek_mut`, `get_mut`

Open garro95 opened this issue 11 months ago • 0 comments

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.

garro95 avatar Mar 08 '25 12:03 garro95