Skip to content

Commit 6f6ea46

Browse files
committed
Fixed example in documentation
Added the cost of the edge 3 -> 4 on the example in the module documentation
1 parent 58e602b commit 6f6ea46

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)