Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
PriorityQueue: use compareFn in update()
update() calls mem.indexOfScalar() which uses `==` for comparing items, which fails when the operator is not supported. As PirorityQueue needs a comparing function anyway we can use `.eq` results to identify matching objects. closes ziglang#9918
- Loading branch information