@@ -778,7 +778,6 @@ impl<'a, 'b: 'a> DebugMap<'a, 'b> {
778
778
/// # Examples
779
779
///
780
780
/// ```
781
- /// # #![feature(debug_map_key_value)]
782
781
/// use std::fmt;
783
782
///
784
783
/// struct Foo(Vec<(String, i32)>);
@@ -796,7 +795,7 @@ impl<'a, 'b: 'a> DebugMap<'a, 'b> {
796
795
/// "{\"whole\": [(\"A\", 10), (\"B\", 11)]}",
797
796
/// );
798
797
/// ```
799
- #[ unstable ( feature = "debug_map_key_value" , reason = "recently added" , issue = "62482 ") ]
798
+ #[ stable ( feature = "debug_map_key_value" , since = "1.42.0 " ) ]
800
799
pub fn key ( & mut self , key : & dyn fmt:: Debug ) -> & mut Self {
801
800
self . result = self . result . and_then ( |_| {
802
801
assert ! (
@@ -843,7 +842,6 @@ impl<'a, 'b: 'a> DebugMap<'a, 'b> {
843
842
/// # Examples
844
843
///
845
844
/// ```
846
- /// # #![feature(debug_map_key_value)]
847
845
/// use std::fmt;
848
846
///
849
847
/// struct Foo(Vec<(String, i32)>);
@@ -861,7 +859,7 @@ impl<'a, 'b: 'a> DebugMap<'a, 'b> {
861
859
/// "{\"whole\": [(\"A\", 10), (\"B\", 11)]}",
862
860
/// );
863
861
/// ```
864
- #[ unstable ( feature = "debug_map_key_value" , reason = "recently added" , issue = "62482 ") ]
862
+ #[ stable ( feature = "debug_map_key_value" , since = "1.42.0 " ) ]
865
863
pub fn value ( & mut self , value : & dyn fmt:: Debug ) -> & mut Self {
866
864
self . result = self . result . and_then ( |_| {
867
865
assert ! ( self . has_key, "attempted to format a map value before its key" ) ;
0 commit comments