diff options
| author | Chai T. Rex <ChaiTRex@users.noreply.github.com> | 2020-12-01 01:06:40 -0500 |
|---|---|---|
| committer | Chai T. Rex <ChaiTRex@users.noreply.github.com> | 2020-12-01 01:06:40 -0500 |
| commit | 866ef87d3f1f368687095b263829ef1182b2727a (patch) | |
| tree | d3eeb200864fce7b7a506892a23b7efbd6e50d6d /library/alloc/src | |
| parent | c2de8fe29443d8c9c70da66dee2c99d4c8d04930 (diff) | |
| download | rust-866ef87d3f1f368687095b263829ef1182b2727a.tar.gz rust-866ef87d3f1f368687095b263829ef1182b2727a.zip | |
Update rustc version that or_insert_with_key landed
Diffstat (limited to 'library/alloc/src')
| -rw-r--r-- | library/alloc/src/collections/btree/map/entry.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/alloc/src/collections/btree/map/entry.rs b/library/alloc/src/collections/btree/map/entry.rs index 3ff648fe24c..77c285ef595 100644 --- a/library/alloc/src/collections/btree/map/entry.rs +++ b/library/alloc/src/collections/btree/map/entry.rs @@ -132,7 +132,7 @@ impl<'a, K: Ord, V> Entry<'a, K, V> { /// assert_eq!(map["poneyland"], 9); /// ``` #[inline] - #[stable(feature = "or_insert_with_key", since = "1.49.0")] + #[stable(feature = "or_insert_with_key", since = "1.50.0")] pub fn or_insert_with_key<F: FnOnce(&K) -> V>(self, default: F) -> &'a mut V { match self { Occupied(entry) => entry.into_mut(), |
