Skip to content

Commit

Permalink
Remove BTreeSet from all examples.
Browse files Browse the repository at this point in the history
  • Loading branch information
jbcrail committed Nov 14, 2014
1 parent b1c84d6 commit 643edea
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/libcollections/tree/set.rs
Expand Up @@ -504,9 +504,9 @@ impl<T: Ord> TreeSet<T> {
/// # Example
///
/// ```
/// use std::collections::BTreeSet;
/// use std::collections::TreeSet;
///
/// let mut set = BTreeSet::new();
/// let mut set = TreeSet::new();
///
/// assert_eq!(set.insert(2i), true);
/// assert_eq!(set.insert(2i), false);
Expand All @@ -522,9 +522,9 @@ impl<T: Ord> TreeSet<T> {
/// # Example
///
/// ```
/// use std::collections::BTreeSet;
/// use std::collections::TreeSet;
///
/// let mut set = BTreeSet::new();
/// let mut set = TreeSet::new();
///
/// set.insert(2i);
/// assert_eq!(set.remove(&2), true);
Expand Down

0 comments on commit 643edea

Please sign in to comment.