Skip to content

Commit a2fd84a

Browse files
committed
Bump insert_entry stabilization to Rust 1.59
1 parent 09b0780 commit a2fd84a

File tree

1 file changed

+2
-2
lines changed
  • library/std/src/collections/hash

1 file changed

+2
-2
lines changed

library/std/src/collections/hash/map.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2458,7 +2458,7 @@ impl<'a, K, V> Entry<'a, K, V> {
24582458
/// assert_eq!(entry.key(), &"poneyland");
24592459
/// ```
24602460
#[inline]
2461-
#[stable(feature = "entry_insert", since = "1.58.0")]
2461+
#[stable(feature = "entry_insert", since = "1.59.0")]
24622462
pub fn insert_entry(self, value: V) -> OccupiedEntry<'a, K, V> {
24632463
match self {
24642464
Occupied(mut entry) => {
@@ -2803,7 +2803,7 @@ impl<'a, K: 'a, V: 'a> VacantEntry<'a, K, V> {
28032803
/// assert_eq!(map["poneyland"], 37);
28042804
/// ```
28052805
#[inline]
2806-
#[stable(feature = "entry_insert", since = "1.58.0")]
2806+
#[stable(feature = "entry_insert", since = "1.59.0")]
28072807
pub fn insert_entry(self, value: V) -> OccupiedEntry<'a, K, V> {
28082808
let base = self.base.insert_entry(value);
28092809
OccupiedEntry { base }

0 commit comments

Comments
 (0)