summary refs log tree commit diff
path: root/src/libstd/collections/hash/set.rs
diff options
context:
space:
mode:
authorBrian Anderson <banderson@mozilla.com>2015-01-22 18:22:03 -0800
committerBrian Anderson <banderson@mozilla.com>2015-01-23 13:28:40 -0800
commitcd6d9eab5d75584edfcae4ffdef8b0836db80c1e (patch)
treefff2c174986eaab33f67390d0a114d508966fe68 /src/libstd/collections/hash/set.rs
parentf86bcc1543cb053363c5e6818a2ad44877ea8361 (diff)
downloadrust-cd6d9eab5d75584edfcae4ffdef8b0836db80c1e.tar.gz
rust-cd6d9eab5d75584edfcae4ffdef8b0836db80c1e.zip
Set unstable feature names appropriately
* `core` - for the core crate
* `hash` - hashing
* `io` - io
* `path` - path
* `alloc` - alloc crate
* `rand` - rand crate
* `collections` - collections crate
* `std_misc` - other parts of std
* `test` - test crate
* `rustc_private` - everything else
Diffstat (limited to 'src/libstd/collections/hash/set.rs')
-rw-r--r--src/libstd/collections/hash/set.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libstd/collections/hash/set.rs b/src/libstd/collections/hash/set.rs
index 18778c5ee27..98c67186a3c 100644
--- a/src/libstd/collections/hash/set.rs
+++ b/src/libstd/collections/hash/set.rs
@@ -147,7 +147,7 @@ impl<T, S, H> HashSet<T, S>
     /// set.insert(2u);
     /// ```
     #[inline]
-    #[unstable(feature = "unnamed_feature", reason = "hasher stuff is unclear")]
+    #[unstable(feature = "std_misc", reason = "hasher stuff is unclear")]
     pub fn with_hash_state(hash_state: S) -> HashSet<T, S> {
         HashSet::with_capacity_and_hash_state(INITIAL_CAPACITY, hash_state)
     }
@@ -171,7 +171,7 @@ impl<T, S, H> HashSet<T, S>
     /// set.insert(1i);
     /// ```
     #[inline]
-    #[unstable(feature = "unnamed_feature", reason = "hasher stuff is unclear")]
+    #[unstable(feature = "std_misc", reason = "hasher stuff is unclear")]
     pub fn with_capacity_and_hash_state(capacity: uint, hash_state: S)
                                         -> HashSet<T, S> {
         HashSet {
@@ -419,7 +419,7 @@ impl<T, S, H> HashSet<T, S>
 
     /// Clears the set, returning all elements in an iterator.
     #[inline]
-    #[unstable(feature = "unnamed_feature",
+    #[unstable(feature = "std_misc",
                reason = "matches collection reform specification, waiting for dust to settle")]
     pub fn drain(&mut self) -> Drain<T> {
         fn first<A, B>((a, _): (A, B)) -> A { a }