# std.PriorityQueue: fix missing siftUp in remove · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/7deae071014237e995ec3017825f7534305ec0c4)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: 7deae071014237e995ec3017825f7534305ec0c4

Requested commit: 7deae071014237e995ec3017825f7534305ec0c4

Commit: 7deae071014237e995ec3017825f7534305ec0c4

Tree: 4683875d2ac8cde512eee25d54238ceb4f0e11d0

Author: joachimschmidt557

Committer: Andrew Kelley

## Message

```
std.PriorityQueue: fix missing siftUp in remove

When the replacement node is smaller than its parent, we need to sift
up instead of sifting down.

```

## Parents

- [b08d32ceb5aac5b1ba73c84449c6afee630710bb](https://git.cafe/gitcafe/zig/commit/b08d32ceb5aac5b1ba73c84449c6afee630710bb?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/7deae071014237e995ec3017825f7534305ec0c4?format=markdown)
