From 35eae4bad2a1bd21593aa8a58af0e5b3de965bad Mon Sep 17 00:00:00 2001 From: Jonas Platte Date: Sun, 26 Apr 2020 12:31:05 +0200 Subject: [PATCH] Fix stable(since) attribute for BTreeMap::remove_entry --- src/liballoc/collections/btree/map.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 BTreeMap { /// 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(&mut self, key: &Q) -> Option<(K, V)> where K: Borrow,