diff options
| author | Jonas Platte <jplatte@users.noreply.github.com> | 2020-04-26 12:31:05 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-04-26 12:31:05 +0200 |
| commit | 35eae4bad2a1bd21593aa8a58af0e5b3de965bad (patch) | |
| tree | 558addfa4d429c422acb785bbf9dff2bf37b97f4 /src/liballoc | |
| parent | 019ab732ce63a117cbb446db1488916c5c0bd2a7 (diff) | |
| download | rust-35eae4bad2a1bd21593aa8a58af0e5b3de965bad.tar.gz rust-35eae4bad2a1bd21593aa8a58af0e5b3de965bad.zip | |
Fix stable(since) attribute for BTreeMap::remove_entry
Diffstat (limited to 'src/liballoc')
| -rw-r--r-- | src/liballoc/collections/btree/map.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/liballoc/collections/btree/map.rs b/src/liballoc/collections/btree/map.rs index 099687bd6b0..c0b976565e4 100644 --- a/src/liballoc/collections/btree/map.rs +++ b/src/liballoc/collections/btree/map.rs @@ -930,7 +930,7 @@ impl<K: Ord, V> BTreeMap<K, V> { /// assert_eq!(map.remove_entry(&1), Some((1, "a"))); /// assert_eq!(map.remove_entry(&1), None); /// ``` - #[stable(feature = "btreemap_remove_entry", since = "1.44.0")] + #[stable(feature = "btreemap_remove_entry", since = "1.45.0")] pub fn remove_entry<Q: ?Sized>(&mut self, key: &Q) -> Option<(K, V)> where K: Borrow<Q>, |
