We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bfe4597 commit 84ca464Copy full SHA for 84ca464
src/doc/nomicon/src/exception-safety.md
@@ -93,7 +93,7 @@ uselessly. We would rather have the following:
93
```text
94
bubble_up(heap, index):
95
let elem = heap[index]
96
- while index != 0 && element < heap[parent(index)]:
+ while index != 0 && elem < heap[parent(index)]:
97
heap[index] = heap[parent(index)]
98
index = parent(index)
99
heap[index] = elem
0 commit comments