garro95/priority-queue

Remove Sized bound for some functions

Johannesd3 opened this issue · 1 comments

There are some methods with the type parameter Q such that I: Borrow<Q>. Some of these methods (change_priority(_by), get_priority) don't require Q to be sized, but all others do. Has it a particular reason?

If not, it would be nice if those functions could be update to Q: ?Sized.

Thanks for the quick reaction!