@@ -867,7 +867,7 @@ where
867
867
/// assert_eq!(err.entry.get(), &"a");
868
868
/// assert_eq!(err.value, "b");
869
869
/// ```
870
- #[ unstable( feature = "map_try_insert" , issue = "none " ) ]
870
+ #[ unstable( feature = "map_try_insert" , issue = "82766 " ) ]
871
871
pub fn try_insert ( & mut self , key : K , value : V ) -> Result < & mut V , OccupiedError < ' _ , K , V > > {
872
872
match self . entry ( key) {
873
873
Occupied ( entry) => Err ( OccupiedError { entry, value } ) ,
@@ -1887,15 +1887,15 @@ impl<K: Debug, V> Debug for VacantEntry<'_, K, V> {
1887
1887
/// The error returned by [`try_insert`](HashMap::try_insert) when the key already exists.
1888
1888
///
1889
1889
/// Contains the occupied entry, and the value that was not inserted.
1890
- #[ unstable( feature = "map_try_insert" , issue = "none " ) ]
1890
+ #[ unstable( feature = "map_try_insert" , issue = "82766 " ) ]
1891
1891
pub struct OccupiedError < ' a , K : ' a , V : ' a > {
1892
1892
/// The entry in the map that was already occupied.
1893
1893
pub entry : OccupiedEntry < ' a , K , V > ,
1894
1894
/// The value which was not inserted, because the entry was already occupied.
1895
1895
pub value : V ,
1896
1896
}
1897
1897
1898
- #[ unstable( feature = "map_try_insert" , issue = "none " ) ]
1898
+ #[ unstable( feature = "map_try_insert" , issue = "82766 " ) ]
1899
1899
impl < K : Debug , V : Debug > Debug for OccupiedError < ' _ , K , V > {
1900
1900
fn fmt ( & self , f : & mut fmt:: Formatter < ' _ > ) -> fmt:: Result {
1901
1901
f. debug_struct ( "OccupiedError" )
@@ -1906,7 +1906,7 @@ impl<K: Debug, V: Debug> Debug for OccupiedError<'_, K, V> {
1906
1906
}
1907
1907
}
1908
1908
1909
- #[ unstable( feature = "map_try_insert" , issue = "none " ) ]
1909
+ #[ unstable( feature = "map_try_insert" , issue = "82766 " ) ]
1910
1910
impl < ' a , K : Debug , V : Debug > fmt:: Display for OccupiedError < ' a , K , V > {
1911
1911
fn fmt ( & self , f : & mut fmt:: Formatter < ' _ > ) -> fmt:: Result {
1912
1912
write ! (
0 commit comments