diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2015-08-13 10:12:38 -0700 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2015-08-15 18:09:17 -0700 |
| commit | 5f625620b5e4e29919400a0ee863942e5bf3d970 (patch) | |
| tree | 7f233a8ea679378cfd42109d923a6ddcf4aef7cf /src/libstd/collections/hash/map.rs | |
| parent | 377c11aa83c1d2f6cc07fe178eb18a31e1813304 (diff) | |
| download | rust-5f625620b5e4e29919400a0ee863942e5bf3d970.tar.gz rust-5f625620b5e4e29919400a0ee863942e5bf3d970.zip | |
std: Add issues to all unstable features
Diffstat (limited to 'src/libstd/collections/hash/map.rs')
| -rw-r--r-- | src/libstd/collections/hash/map.rs | 21 |
1 files changed, 14 insertions, 7 deletions
diff --git a/src/libstd/collections/hash/map.rs b/src/libstd/collections/hash/map.rs index 654b2eac4ba..d5638bdac69 100644 --- a/src/libstd/collections/hash/map.rs +++ b/src/libstd/collections/hash/map.rs @@ -553,7 +553,8 @@ impl<K, V, S> HashMap<K, V, S> /// map.insert(1, 2); /// ``` #[inline] - #[unstable(feature = "hashmap_hasher", reason = "hasher stuff is unclear")] + #[unstable(feature = "hashmap_hasher", reason = "hasher stuff is unclear", + issue = "27713")] pub fn with_hash_state(hash_state: S) -> HashMap<K, V, S> { HashMap { hash_state: hash_state, @@ -583,7 +584,8 @@ impl<K, V, S> HashMap<K, V, S> /// map.insert(1, 2); /// ``` #[inline] - #[unstable(feature = "hashmap_hasher", reason = "hasher stuff is unclear")] + #[unstable(feature = "hashmap_hasher", reason = "hasher stuff is unclear", + issue = "27713")] pub fn with_capacity_and_hash_state(capacity: usize, hash_state: S) -> HashMap<K, V, S> { let resize_policy = DefaultResizePolicy::new(); @@ -998,7 +1000,8 @@ impl<K, V, S> HashMap<K, V, S> /// ``` #[inline] #[unstable(feature = "drain", - reason = "matches collection reform specification, waiting for dust to settle")] + reason = "matches collection reform specification, waiting for dust to settle", + issue = "27711")] pub fn drain(&mut self) -> Drain<K, V> { fn last_two<A, B, C>((_, b, c): (A, B, C)) -> (B, C) { (b, c) } let last_two: fn((SafeHash, K, V)) -> (K, V) = last_two; // coerce to fn pointer @@ -1311,7 +1314,8 @@ impl<'a, K, V> Clone for Values<'a, K, V> { /// HashMap drain iterator. #[unstable(feature = "drain", - reason = "matches collection reform specification, waiting for dust to settle")] + reason = "matches collection reform specification, waiting for dust to settle", + issue = "27711")] pub struct Drain<'a, K: 'a, V: 'a> { inner: iter::Map<table::Drain<'a, K, V>, fn((SafeHash, K, V)) -> (K, V)> } @@ -1587,14 +1591,16 @@ impl<K, V, S> Extend<(K, V)> for HashMap<K, V, S> /// instances are unlikely to produce the same result for the same values. #[derive(Clone)] #[unstable(feature = "hashmap_hasher", - reason = "hashing an hash maps may be altered")] + reason = "hashing an hash maps may be altered", + issue = "27713")] pub struct RandomState { k0: u64, k1: u64, } #[unstable(feature = "hashmap_hasher", - reason = "hashing an hash maps may be altered")] + reason = "hashing an hash maps may be altered", + issue = "27713")] impl RandomState { /// Constructs a new `RandomState` that is initialized with random keys. #[inline] @@ -1606,7 +1612,8 @@ impl RandomState { } #[unstable(feature = "hashmap_hasher", - reason = "hashing an hash maps may be altered")] + reason = "hashing an hash maps may be altered", + issue = "27713")] impl HashState for RandomState { type Hasher = SipHasher; #[inline] |
