From 6f6ea4687e9d596d7136dc591dee312e51fa0ad7 Mon Sep 17 00:00:00 2001 From: jotomicron Date: Tue, 18 Aug 2015 15:58:05 +0100 Subject: [PATCH] Fixed example in documentation Added the cost of the edge 3 -> 4 on the example in the module documentation --- src/libcollections/binary_heap.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libcollections/binary_heap.rs b/src/libcollections/binary_heap.rs index b817ed6a6d0..bedeab67420 100644 --- a/src/libcollections/binary_heap.rs +++ b/src/libcollections/binary_heap.rs @@ -112,7 +112,7 @@ //! // 7 //! // +-----------------+ //! // | | -//! // v 1 2 | +//! // v 1 2 | 2 //! // 0 -----> 1 -----> 3 ---> 4 //! // | ^ ^ ^ //! // | | 1 | |