diff options
| author | Josh Stone <jistone@redhat.com> | 2019-05-16 15:37:01 -0700 |
|---|---|---|
| committer | Josh Stone <jistone@redhat.com> | 2019-05-16 15:37:01 -0700 |
| commit | 5e2c9d38e9300239ebd1127cc0ed7424e9af3867 (patch) | |
| tree | 83754310d5d396e39fcbf36ba0f82a699442c538 | |
| parent | 5f938342ce72816bb4e8bc6f6144ffaa0ca08b05 (diff) | |
| download | rust-5e2c9d38e9300239ebd1127cc0ed7424e9af3867.tar.gz rust-5e2c9d38e9300239ebd1127cc0ed7424e9af3867.zip | |
Add a hash_set_entry tracking issue
| -rw-r--r-- | src/libstd/collections/hash/set.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libstd/collections/hash/set.rs b/src/libstd/collections/hash/set.rs index ca694d2135e..c3903806127 100644 --- a/src/libstd/collections/hash/set.rs +++ b/src/libstd/collections/hash/set.rs @@ -635,7 +635,7 @@ impl<T, S> HashSet<T, S> /// assert_eq!(set.len(), 4); // 100 was inserted /// ``` #[inline] - #[unstable(feature = "hash_set_entry", issue = "0")] + #[unstable(feature = "hash_set_entry", issue = "60896")] pub fn get_or_insert(&mut self, value: T) -> &T { self.map.raw_entry_mut().from_key(&value).or_insert(value, ()).0 } @@ -661,7 +661,7 @@ impl<T, S> HashSet<T, S> /// assert_eq!(set.len(), 4); // a new "fish" was inserted /// ``` #[inline] - #[unstable(feature = "hash_set_entry", issue = "0")] + #[unstable(feature = "hash_set_entry", issue = "60896")] pub fn get_or_insert_with<Q: ?Sized, F>(&mut self, value: &Q, f: F) -> &T where T: Borrow<Q>, Q: Hash + Eq, |
