Skip to content

Commit

Permalink
Remove unnecessary mut in docs causing test failures.
Browse files Browse the repository at this point in the history
  • Loading branch information
nathankleyn committed Mar 10, 2016
1 parent 04436fb commit da4fda4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libcollections/binary_heap.rs
Expand Up @@ -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);
/// ```
Expand Down

0 comments on commit da4fda4

Please sign in to comment.