diff options
| author | Nathan Kleyn <nathan@nathankleyn.com> | 2016-03-10 11:40:31 +0000 |
|---|---|---|
| committer | Nathan Kleyn <nathan@nathankleyn.com> | 2016-03-10 11:40:31 +0000 |
| commit | da4fda44e742671c9451b0b0fd811a5626828041 (patch) | |
| tree | 56068f3e2bbf2af5e9c69c059933dd299ace41ba /src/libcollections | |
| parent | 04436fb65b7efa81793f0f89cf375d0fadf99f89 (diff) | |
Remove unnecessary mut in docs causing test failures.
Diffstat (limited to 'src/libcollections')
| -rw-r--r-- | src/libcollections/binary_heap.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcollections/binary_heap.rs b/src/libcollections/binary_heap.rs index 29258180c67..ba317334cfa 100644 --- a/src/libcollections/binary_heap.rs +++ b/src/libcollections/binary_heap.rs @@ -660,7 +660,7 @@ impl<T: Ord> BinaryHeap<T> { /// /// ``` /// use std::collections::BinaryHeap; - /// let mut heap = BinaryHeap::from(vec![1, 3]); + /// let heap = BinaryHeap::from(vec![1, 3]); /// /// assert_eq!(heap.len(), 2); /// ``` |
