Skip to content

Commit a1f64c2

Browse files
committed
Rollup merge of #27881 - jotomicron:patch-1, r=steveklabnik
Added the cost of the edge 3 -> 4 on the example in the module documentation
2 parents dc9b74f + 6f6ea46 commit a1f64c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libcollections/binary_heap.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@
112112
//! // 7
113113
//! // +-----------------+
114114
//! // | |
115-
//! // v 1 2 |
115+
//! // v 1 2 | 2
116116
//! // 0 -----> 1 -----> 3 ---> 4
117117
//! // | ^ ^ ^
118118
//! // | | 1 | |

0 commit comments

Comments
 (0)