]> git.lizzy.rs Git - rust.git/blobdiff - src/libcollections/btree/set.rs
std: Remove deprecated functionality from 1.5
[rust.git] / src / libcollections / btree / set.rs
index 8d741f9e34a1418503b1b3a11c4c38453e516816..a2c09c36795e4e2f3ed19ae6ac331fb70690be39 100644 (file)
@@ -98,18 +98,6 @@ impl<T: Ord> BTreeSet<T> {
     pub fn new() -> BTreeSet<T> {
         BTreeSet { map: BTreeMap::new() }
     }
-
-    /// Makes a new BTreeSet with the given B.
-    ///
-    /// B cannot be less than 2.
-    #[unstable(feature = "btree_b",
-               reason = "probably want this to be on the type, eventually",
-               issue = "27795")]
-    #[rustc_deprecated(since = "1.4.0", reason = "niche API")]
-    #[allow(deprecated)]
-    pub fn with_b(b: usize) -> BTreeSet<T> {
-        BTreeSet { map: BTreeMap::with_b(b) }
-    }
 }
 
 impl<T> BTreeSet<T> {